FQL 查询:使用多个stream_id 的查询给出的记录太少

发布于 2024-12-01 17:14:11 字数 409 浏览 0 评论 0原文

我想查询多个页面的公开帖子。

我的 FQL 查询如下所示:

SELECT post_id, source_id FROM stream WHERE source_id in (157528807603192, 127531603328)

此查询仅返回大约 6 条记录。

但是,如果我在两个单独的查询中使用两个 source_id,我会得到超过 20 个项目:

SELECT post_id, source_id FROM stream WHERE source_id in = 157528807603192

我在文档中找不到任何内容说明如果查询多个 source_id 则需要不同的权限。

谁能解释一下这里发生了什么?

I would like to query public posts from multiple Pages.

My FQL query looks like this:

SELECT post_id, source_id FROM stream WHERE source_id in (157528807603192, 127531603328)

This query returns only about 6 records.

However, if I use the two source_id in two separate query I got more than 20 item for both of them:

SELECT post_id, source_id FROM stream WHERE source_id in = 157528807603192

I couldn't find anything in the documentation stating that if you query multiple source_id you need different permissions.

Can anyone explain me what is happening here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

不可一世的女人 2024-12-08 17:14:11

我在文档中找到了答案。 :(

http://developers.facebook.com/docs/reference/rest/流.get/

“如果在source_ids数组中只指定一个用户ID,则可以
至少返回该用户个人资料流中的最后 50 个帖子
(墙)过去 180 天(可能会更多)。

如果您在 source_ids 数组中指定多个用户 ID,您可以
仅返回最近几天(大约一
周)。”

I've found the answer in the documentation. :(

http://developers.facebook.com/docs/reference/rest/stream.get/

"If you specify only one user ID in the source_ids array, you can
return, at minimum, the last 50 posts from that user's profile stream
(Wall) for the last 180 days (it likely can be more).

If you specify more than one user ID in the source_ids array, you can
return posts in those streams only from the last few days (about one
week)."

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