我正在尝试使用此 FQL 查询获取 Facebook 群组中每个用户的姓名:
select first_name,last_name from user where uid in (select uid from group_member where gid=123)
但是,该群组的 7000 名成员中只有大约 5000 名成员参与其中。我没有出现在结果中,我的一些 friend 也没有出现在结果中。我和我的 friend 都启用了“平台应用程序”设置,因此 FQL 应该能够访问我们的数据。
查询有什么问题?我正在使用 Facebook 的 Graph API Explorer 和 FQL v1.0。
最佳答案
摘自 Facebook 的博客文章 How-To: Paging with the Graph API and FQL :
In addition to the limits mentioned in the documentation for each of the tables and connections listed above, it is helpful to know that the maximum number of results we will fetch before running the visibility checks is 5,000.
因此,这意味着 Facebook 最多只能获取 5,000 个结果,而且在可见性检查之前也是如此。这意味着您将获得的结果数量不能超过限制!
以下是可见性检查如何对结果进行操作(从 blog post 复制):
注意:博客文章有点旧,但我确信它适用于 FQL v1.0。
关于facebook - 无法使用 FQL 获取 Facebook 群组中的所有用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26306320/