> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/integration/channel-connector/facebook/how-to-add-messenger-platform-to-your-facebook-app.md).

# How to Add Messenger Platform to Your Facebook App

### **Add the Messenger Platform to your Facebook App**

Click the **'Product'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FATzIrPYvH0blOgVYpoRE%2FAdd%20product%20edit.png?alt=media&amp;token=4fa4247b-1392-4bc6-a276-3f24e554063e" alt=""><figcaption><p>Add Product</p></figcaption></figure>

From the product list page, click on the '**Set Up'** button on the **'Webhook'** product. The Webhook Platform will be added to your app, and the webhook settings console will be displayed.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FN24ku7e8SLfUHAJ3ygpx%2FSetup%20messenger%20platform.png?alt=media&amp;token=5eb4287f-8875-4d3c-a98f-4c7bc04366c3" alt=""><figcaption><p>Set Up Messenger</p></figcaption></figure>

### Configure the Messenger For Your App&#x20;

In the **'Webhooks'** section of the Messenger settings console, click the **'Add Subscription'**. This allows your app to receive webhook events for the Page.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fammu0koOJ24JJD3KB3YN%2Fadd%20page%20on%20messenger%20platform.png?alt=media&amp;token=70678035-d56d-48e0-9fd2-579fdca0f1a1" alt=""><figcaption><p>Webhooks</p></figcaption></figure>

Enter the callback URL you obtained when you initially created the Facebook channel.&#x20;

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FH6nzVlRA8yHRRkwhfySV%2Fverify%20token%20callback%20edit.png?alt=media&amp;token=6a8bcf8b-0171-455c-a708-c686e9665ed5" alt=""><figcaption><p>Add Callback URL</p></figcaption></figure>

Once the callback URL has been added, click the **'Add subscription'** button to add a subscription to the webhook field. Select **'messages'**, **'message\_deliveries'** and **'messaging\_postbacks'**. Then, click the **'Save'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FNOdZIuHQguVeJ4BXQbdp%2Fadd%20subscsription%20edit.png?alt=media&amp;token=c64c339c-cc99-4f18-9a68-5462929afd0a" alt=""><figcaption><p>Subscription Fields</p></figcaption></figure>

Messenger subscription addition has been successful.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FhMbDJd0LCErYCtbg3IQO%2Fmessenger%20webhook%20added%20edit.png?alt=media&amp;token=c0ae3f96-1dd1-4a6b-ae4e-313a4a263476" alt=""><figcaption><p>Subscription Messenger</p></figcaption></figure>

On the permissions and features page, click **'Request Advanced Access'** on **pages\_messaging**.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FknX9dSFsUvAijUNyvv5J%2FPage%20messaging%20permissions%20edit.png?alt=media&amp;token=ce3a1efa-8fae-4bca-a8c9-5bc27da46109" alt=""><figcaption><p>Permissions and Features</p></figcaption></figure>

After that, you only need to wait for the results from Facebook regarding the request you sent.

{% hint style="info" %}
You can refer to [this](/integration/channel-connector/facebook/how-to-create-facebook-app/permission-and-feature.md) page to find the difference between standard and advanced access.
{% endhint %}
