skip to Main Content

The old developer on my facebook chatbot stopped working on the project and was removed from the ‘Admin’ role by another Admin.

Now, facebook returns:
{"statusCode":400,"id":"1234567","fbCode":190,"fbErrorSubcode":492,"fbMessage":"The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication."}

instead of replying to a user.

How do I resolve this?

Edit to add:I think this is mostly related to the PAGE_ACCESS_TOKEN variable. How do I change the PAGE_ACCESS_TOKEN that facebook creates for API use? The old(current) PAGE_ACCESS_TOKEN is linked to his account.

The Value Where 'You must select a Page...' appears is incorrect

2

Answers


  1. Chosen as BEST ANSWER

    The key was to also remove the admin from the app admin role. This allowed the creation of a new PAGE_ACCESS_TOKEN that never expires.


  2. The old dev must have been using his personal credentials for the chatbot, so when he was removed from the page as an admin, the service stopped letting his credentials access it for chatting.

    You’ll need to get the app updated with different credentials.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search