skip to Main Content

Today, I noticed that the Facebook Graph API query does not return the comments made by another user.
Suppose, UserA created a postX and another userB add a comment on this post. Now, When I make the following api to get posts and comments of userA by passing the access_token of userA, the comments of userB is not returned.

{user_id}?fields=id,name,link,feed.fields(id,message_tags,source,with_tags,to,from,created_time,type,privacy,place,message,story,description,link,attachments,properties,caption,name,comments.fields(id,from,message,attachment,created_time,message_tags).order(reverse_chronological).limit(5)).since(1516531598).limit(3)

I have searched on the Facebook API change logs if there is any changes regarding the comment API but could not find any.

2

Answers


  1. Chosen as BEST ANSWER

    After searching Facebook blogs, it is found that it is a purposeful change made by Facebook: https://developers.facebook.com/blog/post/2018/05/01/facebook-login-updates-further-protect-privacy/

    enter image description here


  2. If i pass in my own post id, i am getting comments but not the user who commented.

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