这是我获取帖子的查询
NSString *fqlquery= @"SELECT post_id,message FROM stream WHERE source_id = '100005146987508' limit 10000";
self.newurl=[NSString stringWithFormat:@"https://graph.facebook.com/fql?q=%@ &access_token=%@",fqlquery,appDelegate.session.accessToken];
它返回
{
"data": [
]
}
似乎我们没有得到所有结果。我们做错了吗?
答案 0 :(得分:0)
我转载了这个bug。 请求
SELECT post_id, actor_id, target_id, message, source_id FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE uid=me()) AND source_id='xxx'
返回约40行
请求
SELECT post_id, actor_id, target_id, message, source_id FROM stream WHERE source_id='xxx'
只返回2行
我认为你会加入限制filter_key in (SELECT filter_key FROM stream_filter WHERE uid=me())