PubNio calls Facebook’s GET /{page-id}/insights (Page.insights) to read a Page’s daily insights.
How PubNio calls it
- Account analytics: the account sync makes this call;
GET /api/v1/workspaces/{workspaceId}/analytics/accounts/{accountId}returns what it stored. - PubNio asks for
page_media_view,page_impressions_unique,page_post_engagements, andpage_views_totalwithperiod=day. - It stores them as impressions, reach, engagement, and profile visits in that order. Reach is kept as a daily series and never summed across days.
- The follower count does not come from this edge: PubNio reads
followers_countfrom the Page node in a separate request.
Scopes
- The pinned spec names no scope. See Facebook scopes and permissions.
- Before the account analytics sync makes this call, PubNio checks that the account granted
pages_read_engagementandread_insights.
Errors
No error page names this call; see Facebook error codes.
Spec and changes
Page.insights in the pinned spec, revision 5c1fa8a1653722b402133f033fcc321d67981bbd.
Refreshed by hand: no weekly change record.
Limits
- PubNio keeps 89 days of Page history and does not ask for older days.