Skip to main content

Installation

Setting Up Your Facebook Developer Account​

  1. Create a new account at https://developers.facebook.com/ or login with your existing account.

  2. Create a new app and choose Other as the app type. Then select Business. Enter a name for the app and skip selecting any Business portfolios.

Configuring Messenger​

  1. From the menu on the left side, click on Add product. Choose Messenger.

  2. Under the Configure webhooks section, click on Configure.

  3. Retrieve the Callback URL from Settings > Messenger > Messenger and Instagram settings > Get configuration URL.

  4. Set the Verification Token in Settings > Messenger > Messenger and Instagram settings > Secret key and save the changes, then use it to verify the webhook.

  5. In Webhook Fields select the following:

    • inbox_labels
    • message_deliveries
    • message_echoes
    • message_reactions
    • message_reads
    • messages
    • messaging_account_linking
    • messaging_handovers
    • messaging_optins
    • messaging_policy_enforcement
    • messaging_postbacks
    • messaging_referrals
  6. In the Generate access tokens section, click on Connect. Select the pages you want to sync and complete the process.

  7. Under the Webhook Subscription column, click on Add Subscriptions. Choose the scopes you want:

    • messages
    • messaging_postbacks
    • messaging_optins
    • message_reads
    • message_echoes
  8. In the Tokens column, click on Generate. Copy the access token provided and paste it into Settings > Messenger > Facebook pages.

  9. Copy the Page ID and Page Name and paste them into Settings > Messenger > Facebook pages.

  10. Repeat these steps for all pages.

  11. Save the changes and you're done. The final step is to put the app in Live mode.

Syncing Instagram (Optional)​

If you want to sync Instagram as well, follow these steps:

  1. From the menu on the left side, click Messenger > Instagram settings.

  2. In the Configure webhooks area, click on Configure. Repeat the same step you previously took for Messenger.

  3. Under the Webhook Subscription area, click on Add Subscriptions. Select the following scopes:

    • messages
    • messaging_postbacks
    • messaging_optins
    • messaging_seen
  4. Enter your Instagram ID in Settings > Messenger > Facebook pages > Instagram ID. To get it, open your web browser and enter the following URL:

    https://graph.facebook.com/FACEBOOK-PAGE-ID/?access_token=ACCESS-TOKEN&fields=instagram_business_account

    Replace FACEBOOK-PAGE-ID and ACCESS-TOKEN with the corresponding Page ID and access token from the Facebook page linked to Instagram.

  5. Save the changes and you're done. The final step is to put the app in Live mode.


All messages sent to the Facebook pages and Instagram accounts you selected will appear in the conversation admin area of Chat24Plus.