0

这是我获取帖子的查询

 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": [

   ]
}

看来我们没有得到所有的结果。我们做错了什么吗?

4

1 回答 1

0

我重现了这个错误。要求

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())

于 2013-02-01T10:47:42.610 回答