使用 FQL 获取发布到 Facebook 社交评论页面的所有评论
有没有办法使用 FQL 获取与特定 Facebook 应用程序 ID 关联的任何页面上发布的所有评论的 XID?
此地址的 comments_info 表上列出的 FQL 文档似乎表明这是可能的:
http://developers.facebook.com/docs/reference/fql/comments_info/
但是,如果我尝试以下查询,它不会返回任何结果。
SELECT xid FROM comments_info WHERE app_id = {MY_APP_ID}
我想用它来查找最受欢迎的页面,而无需单独检查每个 URL 来确定哪个页面的帖子最多。
Is there a way to use FQL to obtain the XID of all comments posted on any page associated with a particular Facebook application ID?
The docs listed for FQL on the comments_info table at this address seem to suggest that it is possible:
http://developers.facebook.com/docs/reference/fql/comments_info/
If I attempt the following query however, it returns no results.
SELECT xid FROM comments_info WHERE app_id = {MY_APP_ID}
I want to use this to find the most popular pages without individually checking each URL to determine which one has the most posts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您尝试从评论插件获取评论,请尝试使用comment FQL 表。旧版 fb:comments 不久前已自动迁移到最新版本,有效地使 *comments_info* 过时。
从 *comments_info* 文档页面:
“注意:此表包含 app_id 到旧版 fb:comments 使用的 XID 的映射。它不包含当前评论插件的映射,该插件不使用 XID。”
If you are trying to get comments from the Comments plugin, try the comment FQL table instead. Legacy fb:comments were auto-migrated to the latest version a while ago, effectively rendering *comments_info* obsolete.
From the *comments_info* docs page:
"Note: This table contains a mapping of app_id to XIDs used by legacy fb:comments. It does not contain a map for the current comments plugin, which does not use XIDs."