all*_*hou 5 api facebook-insights
我对我的Facebook页面有'Insights Analyst'权限,我尝试使用Graph API Explorer获取指标page_fans
我使用'read_insights'和'manage_pages'"获取访问令牌",并"提交"图形API调用看起来像
GET /<page_id>/insights/page_fans
Run Code Online (Sandbox Code Playgroud)
但后来我得到一个空洞的回应.(除了page_story_adds_unique,page_storytellers和page_admin_num_posts之外的所有指标都会出现这种情况)
{
"data": [
],
"paging": {
"previous": "https://graph.facebook.com/<page_id>/insights/post_storytellers/?since=1369004893&until=1369264093",
"next": "https://graph.facebook.com/<page_id>/insights/post_storytellers/?since=1369523293&until=1369782493"
}
}
Run Code Online (Sandbox Code Playgroud)
我缺少什么权限?我究竟做错了什么?
目前,见解中缺少的积压数据似乎比平常多。使用since和 的值until来查看数据的位置。
/<page_id>/insights/page_fans?since=1369008000&until=1371686400
Run Code Online (Sandbox Code Playgroud)
这些数字是 unix 时间戳,用于指定所需的日期范围。如果范围太大那么你会得到
"error": {
"message": "Unsupported operation",
"type": "FacebookApiException",
"code": 100
}
Run Code Online (Sandbox Code Playgroud)
我知道这非常令人沮丧,而且 Facebook 似乎没有任何适当的方法来检查数据是否积压。
| 归档时间: |
|
| 查看次数: |
1922 次 |
| 最近记录: |