2

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

4

1 回答 1

1

看起来end_time需要准确设置为 12AM PST/PDT(取决于夏令时)unix 时间,否则查询返回空。示例:1330588800

编辑:切换到“/insights”并传递“since”参数,这里的时间不那么严格。

于 2012-04-27T09:09:14.107 回答