在下面我粘贴的示例中,我首先请求上个月每天的洞察数据。第二个是每周,第三个是每 28 天(我们称之为每月)。我的问题是 days_28 的数据与 day 完全相同,而它至少应该像每周数据(即过去 28 天的数据至少应该是 61,而不仅仅是 1)。
为什么会这样?我对数据的解释有误吗?
网址如下:
https://graph.facebook.com/1404223219793416/insights/page_stories/day?since=-1month
https://graph.facebook.com/1404223219793416/insights/page_stories/week?since=-1month
https://graph.facebook.com/1404223219793416/insights/page_stories/days_28?since=-1month
以下是每日数据:
{
"data": [
{
"id": "1404223219793416/insights/page_stories/day",
"name": "page_stories",
"period": "day",
"values": [
{
"value": 0,
"end_time": "2013-07-19T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-20T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-21T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-22T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-23T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-24T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-25T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-26T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-27T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-28T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-29T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-30T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-31T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-01T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-02T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-03T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-04T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-05T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-06T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-07T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-08T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-09T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-10T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-11T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-12T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-13T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-14T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-15T07:00:00+0000"
},
{
"value": 1,
"end_time": "2013-08-16T07:00:00+0000"
}
],
"title": "Daily Page Stories",
"description": "Daily The number of stories created about your Page. (Total Count)"
}
],
"paging": {
"previous": "https://graph.facebook.com/1404223219793416/insights/page_stories/day?since=1371647555&until=1374153155",
"next": "https://graph.facebook.com/1404223219793416/insights/page_stories/day?since=1376658755&until=1379164355"
}
}
以下是每周数据:
{
"data": [
{
"id": "1404223219793416/insights/page_stories/week",
"name": "page_stories",
"period": "week",
"values": [
{
"value": 0,
"end_time": "2013-07-19T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-20T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-21T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-22T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-23T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-24T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-25T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-26T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-27T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-28T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-29T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-30T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-31T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-01T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-02T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-03T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-04T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-05T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-06T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-07T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-08T07:00:00+0000"
},
{
"value": 1,
"end_time": "2013-08-09T07:00:00+0000"
},
{
"value": 1,
"end_time": "2013-08-10T07:00:00+0000"
},
{
"value": 1,
"end_time": "2013-08-11T07:00:00+0000"
},
{
"value": 2,
"end_time": "2013-08-12T07:00:00+0000"
},
{
"value": 29,
"end_time": "2013-08-13T07:00:00+0000"
},
{
"value": 50,
"end_time": "2013-08-14T07:00:00+0000"
},
{
"value": 61,
"end_time": "2013-08-15T07:00:00+0000"
},
{
"value": 61,
"end_time": "2013-08-16T07:00:00+0000"
}
],
"title": "Weekly Page Stories",
"description": "Weekly The number of stories created about your Page. (Total Count)"
}
],
"paging": {
"previous": "https://graph.facebook.com/1404223219793416/insights/page_stories/week?since=1371647903&until=1374153503",
"next": "https://graph.facebook.com/1404223219793416/insights/page_stories/week?since=1376659103&until=1379164703"
}
}
这是每月的数据:
{
"data": [
{
"id": "1404223219793416/insights/page_stories/days_28",
"name": "page_stories",
"period": "days_28",
"values": [
{
"value": 0,
"end_time": "2013-07-19T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-20T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-21T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-22T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-23T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-24T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-25T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-26T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-27T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-28T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-29T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-30T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-07-31T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-01T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-02T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-03T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-04T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-05T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-06T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-07T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-08T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-09T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-10T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-11T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-12T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-13T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-14T07:00:00+0000"
},
{
"value": 0,
"end_time": "2013-08-15T07:00:00+0000"
},
{
"value": 1,
"end_time": "2013-08-16T07:00:00+0000"
}
],
"title": "28 Days Page Stories",
"description": "28 Days The number of stories created about your Page. (Total Count)"
}
],
"paging": {
"previous": "https://graph.facebook.com/1404223219793416/insights/page_stories/days_28?since=1371647956&until=1374153556",
"next": "https://graph.facebook.com/1404223219793416/insights/page_stories/days_28?since=1376659156&until=1379164756"
}
}