How to list all comments in my domain

后端 未结 3 807
伪装坚强ぢ
伪装坚强ぢ 2020-12-01 17:25

I am using the HTML5 version of Facebook Comment in my website. I have my own Facebook APP Id.

Using Graph-API, and FQL (I thi

3条回答
  •  北海茫月
    2020-12-01 17:41

    Reference: Facebook Comments Plugin

    Say your website is http://mywebsite.com/blog.php?id=3 and you have a facebook comments plugin on it, you can access comments this way

     https://graph.facebook.com/comments/?ids={YOUR_URL}.
    

    {YOUR_URL} becomes http://mywebsite.com/blog.php?id=3

    Example 1: (Comments plugin installed on developers facebook doc website )

    website: http://developers.facebook.com/docs/reference/plugins/comments

    fetch comments: https://graph.facebook.com/comments/?ids=http://developers.facebook.com/docs/reference/plugins/comments

    Example 2:

    website: http://techcrunch.com/2011/04/08/the-seven-most-interesting-startups-at-500-startups-demo-day/

    fetch comments: https://graph.facebook.com/comments/?ids=http://techcrunch.com/2011/04/08/the-seven-most-interesting-startups-at-500-startups-demo-day/

    Check this too

    Sample code for pulling comments can be found on this blog post

提交回复
热议问题