Skip to content

Analytics: Facebook post comments need pages_read_user_content #378

Description

@paulocastellano

Facebook post metrics now show reactions, engagement rate, impressions (post_media_view), shares and clicks, but comments read as 0: reading comment counts needs pages_read_user_content, which our Facebook connect does not request (app/Http/Controllers/Auth/FacebookController.php, scopes around line 34).

  • Submit pages_read_user_content for Meta App Review.
  • Only after approval: add it to the Facebook (and Instagram via Facebook, if needed) connect scopes. Requesting an unapproved permission can break the login dialog for every user, so gate it behind config/env until approved.
  • Existing Facebook channels must reconnect to grant it — decide how to prompt them.
  • Verify the comments count lands in the snapshot and the card; test with Http::fake.
  • While there: check whether Facebook reels published by TryPost (stored with a bare video id) duplicate the ones the analytics backfill imports.

Docs: https://developers.facebook.com/docs/graph-api/reference/post/ , https://developers.facebook.com/docs/permissions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions