Skip to content

fix(instagram): request views instead of retired plays for Reels - #319

Open
maciejdzierzek wants to merge 1 commit into
trypostit:mainfrom
maciejdzierzek:fix/instagram-reel-views
Open

fix(instagram): request views instead of retired plays for Reels#319
maciejdzierzek wants to merge 1 commit into
trypostit:mainfrom
maciejdzierzek:fix/instagram-reel-views

Conversation

@maciejdzierzek

Copy link
Copy Markdown

Instagram Reels currently report no metrics at all, because the per-post insights request asks for plays.

Meta retired plays from Instagram media insights in Graph API v25. It is not ignored — including it makes the entire request fail, so the response never carries the other metrics either (reach, likes, comments, shares, saved). The failure surfaces as an unsupported/error result rather than partial data, which makes it easy to mistake for "Meta has not populated the numbers yet".

views is the documented replacement and lives on the same edge, so this is a drop-in rename.

How I verified

Probing the media insights edge on a live Business account against v25:

  • with plays → error response, whose message enumerates the allowed metric set
  • that set contains views and no longer contains plays
  • swapping the name → the request succeeds and returns the full set

Running this in production since 2026-08-04; Reel metrics have been flowing since (previously every Reel came back empty).

Feed posts have a separate but related problem with the retired post_impressions* family — I will send that as its own PR to keep this one reviewable.

Meta removed `plays` from Instagram media insights in Graph API v25. Asking for
it makes the whole per-post metrics request fail, so Reels report no metrics at
all — the request errors out rather than degrading to a partial result.

`views` is the replacement metric and is available on the same edge, so this is
a drop-in rename with no other changes needed.

Verified against live Graph API v25: probing the media insights edge with
`plays` returns an error naming the allowed metric set, which includes `views`
and no longer includes `plays`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant