Reputation: 93
GET /2.12/158732947xxxx/insights?metric=page_impressions&date_preset=last_year
returns the following empty data:
{
"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"
}
}
I am using the correct Page Token. I am full Admin and Advertiser admin...
Upvotes: 1
Views: 1127
Reputation: 93
As noted by "CBroe" above, the trick is to get a new token for the user first with read_insights checked..Only after that would the Page Token give the result requested
Upvotes: 1