Facebook Messenger configuration steps

If your bot is running in Facebook Messenger you will need to configure EngageOne Converse with the following information from your Facebook for developers page.
  • You will be copying information from Facebook for developers to EngageOne Converse, so it may be best to have an instance of each open side-by-side.
  • What you see on screen may not exactly match what is shown here, depending on updates made to Facebook since this help was published.

The following instructions assume you have already registered for a Facebook and Facebook for developers account.

Step 1: Initial setup in Facebook

In this step, you add the Messenger Platform and configure the webhook:

  1. If you do not have one set up, create a Facebook page that corresponds to the Converse bot.
  2. From the Facebook for developers page (https://developers.facebook.com), click My Apps > Add a New App.

    The Create a New App ID window displays.

  3. Enter the app display name, click Create App ID. Then fill in other information as required and complete the security check.

    The App Dashboard displays.

  4. In the Messenger box, click Set Up.

    The Messenger Settings page displays.
  5. Scroll to the Token Generation section. select your page from the Page field.
    Note: If you do not have a page, click Create a new page.

  6. If required, grant permissions for the page token.
  7. Copy the Page Access Token.

Step 2: Configure the bot in Converse

  1. In Designer, click to display the bot configuration. Open the Integration tab.
  2. Paste the page access token into the Page Access Token field.
  3. From the Facebook for Developers App Dashboard, copy the App ID (located at the top of the window) and in Converse, paste it into App ID field.
  4. From the Facebook for Developers App Dashboard, go to Settings > Basic. Click Show under App Secret and copy the app secret.
  5. In Converse, paste the app secret into the App Secret field.
  6. Type a word or phrase in the Verify token field.
    Note: Take note of your word or phrase, you will enter the same in Facebook for developers.
  7. Click OK to save the bot configuration.
  8. Go back to the Integration tab again. The Callback URL field is now populated with a domain appended with a token string. For example:


  9. Copy the information in the Callback URL field.

Step 3: Configure the webhook in Facebook

  1. From the Facebook for Developers App Dashboard, go to Messenger > Settings. Scroll down to the Webhooks section.
  2. Click Setup Webhooks.

    The New Page Subscription window displays.

  3. Paste the Callback URL you copied from Converse into the Callback URL field.
  4. In the Verify token field, type the word or phrase that corresponds to the token in Converse.
  5. In the Subscription Fields section, select the appropriate options for your bot.
    The Messenger Platform sends events to your callback URL to notify your bot when a variety of events happen. All webhook events are optional but the relevant ones for Converse are these:
    • messages
    • messaging_postbacks
    • message_deliveries
    • message_reads
    • messaging_account_linking

    For further information, see https://developers.facebook.com/docs/messenger-platform/webhook/#subscribe.

  6. Click Verify and Save.

    The Webhooks section (under Messenger settings) displays.

  7. In the Select a page to subscribe your webhook to the page events field, select your Facebook page.
  8. Click Subscribe.

    You are ready to start building your bot in EngageOne Converse.

Step 4: Additional, optional configuration in Facebook

If you are planning to use date and time pickers then you must whitelist the bot host. For details, see Whitelisting the bot host.

Developing the bot in Converse

When developing the bot, remember that a message or question interaction that makes a call to Facebook must have used the Requires account linking option. This is set on the Advanced tab of the interaction.

For more details, see Creating an interaction for account linking.