Sunday, April 27, 2014

How to Retrieve Facebook Post all Comments Using Graph API

See below example:

You need to call it from a secure request https and provide an access_token:

https://graph.facebook.com/19292868552_118464504835613/comments?access_token=XXX
EDIT:
Added the object from the post document. try clicking the comments connection and then remove the access_token and try and see the difference.


  accepted
It is very simple - all you have to do is query https://graph.facebook.com/POST_ID with a valid access token. You can rad more here :
https://developers.facebook.com/docs/reference/api/

1 comment:

  1. This is a great blog post for me, because I was facing problem for this, thanks for helping me out.

    ReplyDelete