https://graph.facebook.com/fql?q=select object_id, metric, value from insights where metric in ('page_posts_impressions_unique') and object_id = OBJECT_ID and end_time = 1272351600 and period = period('day')
上面的代码返回空数组,而https://graph.facebook.com/OBJECT_ID/insights/page_posts_impressions_unique返回数据。
似乎所有的“页面帖子”都不适用于fql,但是其他的洞察力,比如“页面印象”,“页面参与”,都可以很好地工作。
我在这里做错了什么?错误的period或end_time
发布于 2012-04-27 17:09:14
看起来end_time需要设置为12ampst/PDT(取决于夏令时) unix时间,否则查询返回空。示例: 1330588800
编辑:已切换到“/insights”并传递了“自”参数,在此计时不是很严格。
https://stackoverflow.com/questions/10346455
复制相似问题