skip to Main Content

I’m using the Facebook Graph API and previously, using the /me/posts endpoint and including the comments field, I’d get a list of posts including all comments.

Now I’ve tried it again, it’s not bringing back any comments unless they are my own. This is through the Facebook Graph Explorer and it’s behaving the same there though so it’s not my application

This is the endpoint I am using

me/posts?fields=from,message,comments

If I put .summary(1) at the end, it shows me there’s, for example, 3 comments on a post but the ‘data’ will just be a blank area.

Has there been a change on Facebook recently in regards to this?

2

Answers


  1. https://developers.facebook.com/docs/graph-api/changelog/version3.0#comments-edge

    When read with a User access token, the /comments edge returns empty data for the following nodes…

    A lot has changed in the last few weeks, for privacy reasons.

    Login or Signup to reply.
  2. You need to access the comments with a Page Token, not a user or App token.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search