# How to Add Webhooks Platform to Your Facebook App

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

Click the **'Product'** button.

![Add Product](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F75OkNsDtxZim0qc55Vr5%2FAdd%20product%20edit.png?alt=media\&token=34c97d04-9b52-4d25-9f1a-f2a11dca8d85)

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.

![Set Up Webhook](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FAHIxgymvrktGotzkYdWF%2FSetup%20webhook%20platform%20edit.png?alt=media\&token=4c3163bd-d10d-49e9-b5ed-a58388250b77)

### **Configure the Webhook for your App**

Before setting up a webhook, make sure the Facebook channel is online. If the Facebook channel is offline, you will not be able to verify and save the webhook you have configured.

![Channel Connector](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FWlmITAf8SYHH5RroPaAC%2FChannel%20fb%20online%20edit.png?alt=media\&token=686933f0-4088-4330-8555-43475d28dfb1)

Select webhooks category, example select category **Page**. Then, click the **'Subscribe to this object'** button.

![Webhook Category](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FjYSYOf91jb4jFFRyCHUl%2Fselect%20page%20webhook.png?alt=media\&token=f2cfa8fb-9b3a-4685-82eb-fecd6e56522f)

In the pop-up '**Edit Page Subscription'**. This will subscribe your app to receive webhook events for the Page.

![Edit Page Subscription](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FU5VK4gMlaejTDhmvZHEd%2Fedit%20subscription.png?alt=media\&token=6fe52847-6b9b-4999-bcef-d6c54151364a)

On the **'Callback URL'** field, copy and paste the public URL for your webhook.

![Callback URL](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FLxnDp6pS1URRG9naP29a%2Fedit%20page%20subscription%20edit.png?alt=media\&token=b4e4861d-f1af-484c-83c5-a1ea71938fb3)

The public URL is obtained after creating a Facebook channel in our application. You can copy the URL by clicking the **'Channel Copy URL'** button, as shown below.

{% hint style="warning" %}
Channel URL must have added port. Please see [this](https://docs.3dolphins.ai/integration/channel-connector/facebook/create-a-new-channel-of-facebook) page to add ports.
{% endhint %}

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Ff8uT63jNpjIGoKmQUbYU%2Fverify%20token%20webhook%20edit.png?alt=media&#x26;token=3c97775b-4319-48b0-afa2-2ec0cb7a0ef0" alt=""><figcaption><p>Channel Copy URL</p></figcaption></figure>

In the **'Verify Token'** field, enter the verify token for your webhook. Click the **'Verify and Save'** button.

![Verify Token](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Ff8uT63jNpjIGoKmQUbYU%2Fverify%20token%20webhook%20edit.png?alt=media\&token=3c97775b-4319-48b0-afa2-2ec0cb7a0ef0)

Click the '**Subscribe'** button on '**feeds'**, '**pictures'**, '**ratings',** and **'videos'.**

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F6TtnVhHUDUq3xCbMhf8r%2Fsubscription%20webhook%20edit.png?alt=media&#x26;token=e31bef58-f440-4fdf-9b28-174efab4fb27" alt=""><figcaption><p>Webhook Subscription</p></figcaption></figure>
