Facebook Messenger allows users to communicate seamlessly with various contacts on Facebook, one of the most popular social media sites. A Facebook Page allows a business to reach a broad audience using built-in tools, including Messenger.
To use the Facebook Messenger channel with Conversation API, a Facebook Page must be connected to an existing Conversation API app. This allows the app to receive and send Messenger messages through the connected Facebook Page.
Note: You must be an admin of the Facebook Page you plan to connect to your Conversation API app. For more information on Page roles, see What are the different Page roles and what can they do?.
To connect a Facebook Page to a Conversation API app:
- Log in to the Sinch Customer Dashboard.
- Select Conversation API from the left menu and select the Apps option. The Conversation apps page is displayed:
Click the application with which the Facebook Page will be associated.
- The application's page is displayed:
In the Set up channels section, click the Facebook Messenger option.
- The Facebook Messenger page is displayed:
Click Log in With Facebook.
- Enter your Facebook credentials.
- You are prompted to select a Facebook Page for Sinch to manage.
Warning: Deselecting any previously connected Facebook Pages in the list will remove the Facebook Page from the Conversation API app. For example, if you are setting up a Conversation API app, and an existing Conversation API app is already connected to a different Facebook Page, that Facebook Page is displayed as already selected and connected to Sinch. Deselecting this Facebook Page will invalidate your existing Conversation API app integration.
Select one available Facebook Page to connect to your Conversation API app:
Note: Only select one new Facebook Page each time you connect a Facebook Page to a Conversation API app.
- You are prompted to grant permissions to the Conversation API app:
Ensure that all permissions are enabled and click Done.
- The status of the integration is displayed below the Log in With Facebook button:
The process of connecting your Facebook Page with your Conversation API app is asynchronous and, while it is ongoing, the status will appear as ACTIVATING CHANNEL. Once the Facebook Page has been successfully connected to the app, the status will appear as ACTIVE.
Once the integration is ACTIVE, you can start using the Facebook Messenger channel on your Conversation API app.