PubNio calls Instagram’s GET /{ig-media-id}/insights (IGMedia.insights) to read a published post’s insights.
How PubNio calls it
- Post analytics: the analytics sync makes this call for published posts;
POST /api/v1/analytics/refreshesasks for an early read. - PubNio picks the
metriclist by placement and sends one more request per breakdown the placement supports. Stories readlink_clicksonly with Facebook Login. - Every placement asks for
views,reach,shares,reposts, andtotal_interactions. Feed posts and carousels addlikes,comments,saved,follows, andprofile_visits; Reels addlikes,comments,saved,ig_reels_avg_watch_time, andig_reels_video_view_total_time; stories addreplies,follows, andprofile_visits.
Scopes
- The pinned spec names no scope. See Instagram scopes and permissions.
- Before the post analytics sync makes this call, PubNio checks that the account granted the scopes for its sign-in method (Instagram Login:
instagram_business_manage_insights; Facebook Login:instagram_manage_insights; Unified Login:instagram_manage_insights).
Errors
No error page names this call; see Instagram error codes.
Spec and changes
IGMedia.insights in the pinned spec, revision 5c1fa8a1653722b402133f033fcc321d67981bbd.
Refreshed by hand: no weekly change record.
Limits
- PubNio reads insights only for posts it published, not for the account’s other media.