Facebook Graph API get all comments

后端 未结 2 1292
终归单人心
终归单人心 2020-12-09 19:06

OK, so I\'ve put a Facebook social plugin comments box on my site, in which i specified a Facebook Fanpage, as the comments target.

Now what I want to do is get all

2条回答
  •  温柔的废话
    2020-12-09 19:47

    check this stackOverflow topic

    You need to call it from a secure request https and provide an access_token (19292868552_118464504835613 is Facebook post) :

    ( (19292868552) is the page or group id and (118464504835613) is the post id)

    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.

提交回复
热议问题