开发者

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

开发者 https://www.devze.com 2023-02-10 20:52 出处:网络
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 w

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

精彩评论

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