所以我的网站上有一个 Facebook 评论框(每个评论框一个)我的博客上有文章)。我的客户喜欢一个带有他网站上最新评论的小部件。我找到了带有注释的活动源:
当用户在以下位置共享您网站的内容时,也会显示活动:
Facebook 或者他们在评论中对您网站上的页面发表评论
框。
我填写了App ID,但不显示评论?有谁知道如何获取活动源中发布的最新评论?
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?
发布评论
评论(1)
您应该通过 URL(而不是应用 ID)检索评论。
每个 URL 的评论都可以通过图形 API 访问。只需访问:https://graph.facebook.com/comments/?ids= {YOUR_URL}。
例如,可以通过以下方式访问此 URL 上的评论: https://graph.facebook.com/comments/?ids=http://developers.facebook.com/docs/reference/plugins/comments。
详细信息:如何访问网站上留下的评论?
更多信息关于评论框:向评论框添加新功能
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