Facebook Graph API 2.12洞察数据为空白

问题描述 投票:0回答:1
GET /2.12/158732947xxxx/insights?metric=page_impressions&date_preset=last_year

返回以下空数据:

    {
  "data": [
  ],
  "paging": {
    "previous": "https://graph.facebook.com/v2.12/158732947xxxx/insights?access_token=xxxxxXzZAzGoN2eAZDZD&pretty=0&metric=page_impressions&date_preset=last_year&since=1451721600&until=1483257600",
    "next": "https://graph.facebook.com/v2.12/158732947xx/insights?access_token=xxxxxWfmC7XzZAzGoN2eAZDZD&pretty=0&metric=page_impressions&date_preset=last_year&since=1514793600&until=1546329600"
  }
}

我正在使用正确的页面令牌。我是管理员和广告客户管理员...

facebook-graph-api facebook-access-token facebook-insights
1个回答
0
投票

正如上面的“CBroe”所指出的,诀窍是首先为用户获取一个新的令牌,并检查read_insights。只有在那之后页面令牌才会给出请求的结果

© www.soinside.com 2019 - 2024. All rights reserved.