开发者

why fql `SELECT recent_news FROM group WHERE gid = 2204685680` is empty?

I want get the recent news from a group, I read the fql/group

and use SELECT recent_news 开发者_StackOverflow中文版FROM group WHERE gid = 2204685680, but the callback json data is empty. Where am I wrong? Anyone can give me some suggestion? Thank.


For some reason this field is not retrieving anything, I've tried it on my own "secret" testing group...but still no results.

So you still have two options:

  1. Querying the stream table, something like
    SELECT message FROM stream WHERE source_id = 2204685680

  2. Using the feed connection:
    https://graph.facebook.com/2204685680/feed


if the gid is the type of string then it will not return anything if u pass like this, try with SELECT recent_news FROM group WHERE gid = '2204685680'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜