API 支持您自己的页面和应用程序的历史数据,并且有明确的记录
获得read_insights
权限后,您可以使用 Graph API 或 FQL 执行此操作
例如,要检索上个月每一天的点赞数,此 Graph API 洞察查询将显示结果:
/[PAGE ID HERE]/insights/page_fans/lifetime?since=1 month ago
我的一个页面的结果是:
{
"data": [
{
"id": "255463667838002/insights/page_fans/lifetime",
"name": "page_fans",
"period": "lifetime",
"values": [
{
"value": 52,
"end_time": "2012-05-21T07:00:00+0000"
},
{
"value": 52,
"end_time": "2012-05-22T07:00:00+0000"
},
{
"value": 53,
"end_time": "2012-05-23T07:00:00+0000"
},
{
"value": 53,
"end_time": "2012-05-24T07:00:00+0000"
},
{
"value": 53,
"end_time": "2012-05-25T07:00:00+0000"
},
{
"value": 53,
"end_time": "2012-05-26T07:00:00+0000"
},
// Snipped more of the same
],
"title": "Lifetime Total Likes",
"description": "Lifetime The total number of people who have liked your Page. (Unique Users)"
}
如果您询问其他人的页面或应用程序,答案是否定的 - 您需要使用在信息公开时已经缓存信息的第三方服务(即投票服务)