0

I'm working on integrating a messaging app using the Messenger Platform and facing an issue when trying to subscribe to a Facebook Page's webhooks via the /subscribed_apps endpoint.

Request:

POST https://graph.facebook.com/v22.0/{PAGE_ID}/subscribed_apps?subscribed_fields=message_echoes,message_edits,message_reactions,messages&access_token={PAGE_ACCESS_TOKEN}
  • Expected behavior:
    • The app should successfully subscribe to the page’s webhooks.

Actual response:

{
  "error": {
    "message": "(#200) User does not have sufficient administrative permission for this action on this page. If the page business requires Two Factor  Authentication, the user also needs to enable Two Factor Authentication.",
    "type": "OAuthException",
    "code": 200,
    "fbtrace_id": "Ab58ialaH2fMfZVOxrk4z06"
  }
}

What I’ve confirmed:

The System User Access Token has advanced permissions like pages_messaging, business_management, etc. The Page Access Token is valid for the intended page. The user has full admin control over the Page, Business, and Instagram account and has Two-Factor Authentication enabled. The app is in Live Mode with approved permissions. The business is linked correctly to the app.

Anomaly:

When I query the /accounts edge for the page, the response does not include the tasks array, unlike other working integrations.

Question:

Is there any additional setup required for a System User to subscribe an app to a page’s webhooks? Could the missing tasks array indicate a misconfiguration that’s preventing the webhook subscription?

New contributor
Achilles Demey is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.