简体   繁体   English

在FB Graph API FQL上显示来自Stream的更多帖子

[英]Show More Posts from Stream on FB Graph API FQL

I am trying to collect data from the stream of groups. 我正在尝试从组流中收集数据。 Here is an example 这是一个例子

https://graph.facebook.com/fql?q=SELECT post_id, app_data, type, actor_id, target_id, like_info, message FROM stream WHERE source_id = 1400366526844437&type=308&limit=1000&access_token=YOUR_ACCESS_TOKEN

So if anybody try that above you will get results just fine but my problem is that it shows just a small amount of post when the page have far more post and is not giving me the option to for next page either. 因此,如果有人在上面尝试过,您会得到很好的结果,但是我的问题是,当该页面有更多帖子时,它仅显示少量帖子,并且也没有给我下一页的选项。 Is there a way to make it post more? 有没有办法让它发布更多?

I already tried adding 我已经尝试添加

limit=1000

But that doesn't worked any help will be appreciated. 但这不起作用,将不胜感激。

I found the solution so here it is for people following behind 我找到了解决方案,所以这里是追随者

instead of the above syntax use this 代替上面的语法使用这个

https://graph.facebook.com/fql?q=SELECT post_id, created_time , app_data, type, actor_id, target_id,comments, message FROM stream WHERE  source_id = <page or group id> limit 500&access_token=

as one can see instead of limit=500 after the type just place the limit 500 after the source id and that solves the issue. 正如人们看到的那样,在类型之后只需将限制500放在源ID后面,而不是limit = 500即可解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM