How to change a caption of an image on Facebook in PHP via graph api? This is the way I used to upload it:
$facebook->api_client->photos_upload($file,$aid,'some caption',$uid);
Any hints? Thanks.
In the App Dashboard Settings > Advanced, scroll to the Upgrade API Version section.
Yes, it is a REST API as well. Show activity on this post. Yes, there have been 3 Facebook API's to date: Legacy REST.
NO, Its not possible to change caption of image using API.
The Open Graph API does not allow such an option.
It is possible to upload the photo with a new caption, but it looks as if the user has to approve the addition of a photo to his album, and I'm not sure that part is automatable.
If you want further explination try reading This question.
I may be doing something wrong and should not answer as link to same question exists on the comments, but i just thought it's an answer and no one posted it. If i shouldn't have done that, comment and i'll delete or author delete question. Don't start voting me down =/
You can't update captions on Facebook. They're quite rigid about that. You can upload a caption, but if it includes a link, it will be "red flagged" as spammy and your app might be taken down. The way they want you to do it is provide a text area for the user to fill out, and then upload that to Facebook. Essentially, have some user-moderated flow that allows someone to add or customize the caption input.
After it's uploaded, there's absolutely no way to change it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With