Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the most recent comments of Facebook?

So I have a comments box of Facebook on my site ( one on each article I have on my blog ). My client likes a widget with the most recent comments on his site. I found the Activity Feed with the note:

Activity is also displayed when users share content from your site in Facebook or if they comment on a page on your site in the Comments box.

I filled in the App ID, but it does not show the comments? Does anyone have an idea how I can get the most recent comments posted in the activity feed?

like image 980
Mark Avatar asked Nov 14 '22 09:11

Mark


1 Answers

You should retrieve your comments by your URL, not by app ID.

The comments for every URL can be accessed via the graph API. Simply go to: https://graph.facebook.com/comments/?ids={YOUR_URL}.

For example, the comments on this URL can be accessed via: https://graph.facebook.com/comments/?ids=http://developers.facebook.com/docs/reference/plugins/comments.

Detailed information: How do I access the comments left on my site?

Some more about comment box: Adding new features to Comments Box

like image 182
Oleg Avatar answered Jan 10 '23 22:01

Oleg