Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graph API: Adding Captions To User Generated Photos

I'm trying to get my application to post photos to a user's timeline using the user generated picture feature of Open Graph. Unfortunately, while I can easily get the picture to the user's timeline, I haven't found any documented way to pass along a caption.

Instagram seems to have figured it out: https://i.sstatic.net/TYsiX.png

Yet, if you go to the page of one of their posts, you'll notice that the caption isn't present in any of the Open Graph meta tags, so I'm guessing this is a value passed along with the POST.

Any suggestions?

like image 323
alexander Avatar asked Dec 05 '25 05:12

alexander


1 Answers

There is an optional message attribute that you can pass to the action:

https://developers.facebook.com/docs/opengraph/define-actions/

Under optional arguments.

It takes special approval when you submit your action for approval

like image 120
Mikkel Garcia Avatar answered Dec 08 '25 08:12

Mikkel Garcia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!