The Facebook Messenger testing channel allows you to test your bot with real users on Facebook Messenger.

Before you get started, make sure to have a spare Facebook Page that you can use for testing.

To setup the Facebook Messenger testing channel, navigate to the channels section, click on testing channels at the top of the channels list and then click CONNECT on the Facebook messenger testing channel card.

Bot_-_Botsupply_Dashboard

At this point you will see a modal asking you to grant permission to access your Facebook account and fetch the complete list of your Facebook pages, click CONNECT to continue.

Bot_-_Botsupply_Dashboard

The CMS will then connect to Facebook and you will be presented with another modal asking for confirmation, click "Continue as; to continue.

Log_in_With_Facebook

Next, you will be presented with a list of all the Facebook pages you have access to. By default, all the pages are selected. Click NEXT to continue.

Log_in_With_Facebook

To be able to connect a bot to a Facebook page and be able to use it as testing channels you will have to grant basic page management permissions to the CMS.
  • Manage your pages: Grants an app permission to retrieve Page Access Tokens for the Pages and Apps that the app user administers.

  • Manage and access Page conversations in Messenger: Grants an app permission to¬†manage and access Page conversations in Messenger.

To continue, leave the default settings and click DONE.

Log_in_With_Facebook

You will be redirected to the CMS where a modal will display the complete list of Facebook Pages that you have authorized the CMS to access. Select the page you would like to use as testing channel from the list and click CONNECT to continue.

Bot_-_Botsupply_Dashboard

To complete the configuration of the Facebook Messenger testing channel you will have to specify 2 additional fields:
  • Starting Message: This message will be sent as the first message to the users.

  • Greeting Text: This text is shown to users before they start an interaction with your bot.

Click SAVE to continue

Bot_-_Botsupply_Dashboard

If the connection is succesful, you will be able to see the page you have selected listed in the Connected and Previous Connected Facebook Pages section.

Dashboard_-_Botsupply_Dashboard

The bot is now connected to the Facebook Page you have selected and all the messages sent to that page by any Facebook User will be managed by the bot.