# Facebook Admin Removal

If the person that created the initial page access token is removed as an admin from the Facebook page your bot is linked to, the page access token will become invalidated, causing your bot to no longer be authorized to post messages to the page.

We advise you to test any changes to the developer apps and pages within Facebook within the **testing** environment first, before changing anything in the production environment.

## How to fix this issue

If you are currently experiencing issues as described above, please follow the steps below to fix it:

1. In the Facebook Application on <http://developers.facebook.com>, go to Products > Messenger > Settings and scroll down to 'Token Generation'
2. Select the right Facebook page and copy the Page Access Token![](https://mail.google.com/mail/u/1?ui=2\&ik=bc20346786\&attid=0.1\&permmsgid=msg-f:1610849996652561580\&th=165ae3898cea44ac\&view=fimg\&sz=w1600-h1000\&attbid=ANGjdJ9Q2WudzrM5lqpXvkKhmvm_c49tXuVAuCuUd0LUneZ3XktQPf5tZldFNByvltwTU6Y7AGC5c8a-cCDfwK68zFyb3KL3MWLK9evw5FV6SMFuSuSAOy1BWLks1gI\&disp=emb\&realattid=ii_jlqdfyhu2_165ae38425d7c01b)
3. On our platform, go to 'Settings'
4. Change the Page Access Token to the one you copied from Facebook and click the 'Push to bot' button.

If these steps do not fix the issue, please contact us through our [support channels](/support/get-in-touch.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chatlayer.ai/channels/all-channels/facebook/facebook-admin-removal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
