Taruni
Taruni

Reputation: 1671

How to post comment on facebook photo in android app?

At present i am struggling to post a comment to a photo on facebook wall .

Can any one direct me the graph-api for posting comment to the facebook photo?

Thanks

Upvotes: 1

Views: 8524

Answers (2)

  1. Adding the icon

You can manage icons from your app's dashboard: https://developers.facebook.com/apps/APP_ID/appdetails

Upvotes: 0

gaussblurinc
gaussblurinc

Reputation: 3682

So, if you want to publish something, you need to use POST request for facebook-graph-api.

Facebook has a graph structure, so, each thing has connections to other things.

You need to post a message to photo. Ok.

If you have an access_token, you can you POST-request for Graph-API.

OK, after all things, just create an URL for request: https://graph.facebook.com/PHOTO_ID/comments?message=MESSAGE&access_token=ACCESS_TOKEN and use POST:

POST https://graph.facebook.com/PHOTO_ID/comments?message=MESSAGE&access_token=ACCESS_TOKEN

See more information in Publishing section

Upvotes: 1

Related Questions