Facebook graph api comment count

后端 未结 9 966

seems Facebook changed the result of posts, few weeks ago it was possible to read the comment count from the post directly

https://graph.facebook.com/125909647492772_502

9条回答
  •  忘了有多久
    2021-02-01 20:37

    You can do such requests:

    {pageid}/posts?fields=comments.summary(1){id}

    It will return a list of posts including comments count of each post. Here I have returned only the comment id because I only need the number of comments per post, but of course you can include many other fields:

    {pageid}/posts?fields=comments.summary(1){id,message},id

提交回复
热议问题