Skip to content

Fix Instagram Reel and Story analytics by requesting views - #362

Merged
paulocastellano merged 1 commit into
mainfrom
fix/instagram-analytics-views
Sep 18, 2026
Merged

paulocastellano merged 1 commit into
mainfrom
fix/instagram-analytics-views

Conversation

@paulocastellano

Copy link
Copy Markdown
Contributor

Summary

  • Instagram media insights retired plays (Reels) and impressions (Stories). Asking for either fails the whole request, so the post card comes back empty.
  • Request views instead, keep the valid feed metric set, and map labels through the existing analytics translations.
  • Supersedes fix(instagram): request views instead of retired plays for Reels #319, which only renamed Reel plays and left Story broken.

Test plan

  • Open a published Instagram Reel and confirm analytics load (views, reach, likes, …)
  • Open a published Instagram Story (within 24h) and confirm analytics load
  • Open a feed photo/carousel and confirm metrics still load
  • php artisan test --compact tests/Feature/Services/Social/InstagramAnalyticsTest.php

…lays and impressions.

A single retired metric name fails the whole insights request, so Reel and Story cards came back empty. Feed names were already valid.
@paulocastellano
paulocastellano merged commit 82d6546 into main Sep 18, 2026
5 checks passed
@paulocastellano
paulocastellano deleted the fix/instagram-analytics-views branch September 18, 2026 15:05
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