![](/img/trans.png)
[英]FQL get posts from stream on updated_time, need to find equivalen Graph API
[英]Show More Posts from Stream on FB Graph API FQL
我正在嘗試從組流中收集數據。 這是一個例子
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
因此,如果有人在上面嘗試過,您會得到很好的結果,但是我的問題是,當該頁面有更多帖子時,它僅顯示少量帖子,並且也沒有給我下一頁的選項。 有沒有辦法讓它發布更多?
我已經嘗試添加
limit=1000
但這不起作用,將不勝感激。
我找到了解決方案,所以這里是追隨者
代替上面的語法使用這個
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=
正如人們看到的那樣,在類型之后只需將限制500放在源ID后面,而不是limit = 500即可解決問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.