> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/channels/all-channels/facebook/facebook-admin-removal.md). Agents can also search and read this documentation through its [MCP server](https://docs.chatlayer.ai/~gitbook/mcp).

# 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](https://docs.chatlayer.ai/support/get-in-touch.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
