使用 FQL 获取发布到 Facebook 社交评论页面的所有评论

发布于 2024-10-28 10:55:22 字数 431 浏览 5 评论 0原文

有没有办法使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眉黛浅 2024-11-04 10:55:22

如果您尝试从评论插件获取评论,请尝试使用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."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文