To integrate your chatbot with the Facebook Messenger channel, you must meet the prerequisites and provide Heres with the configuration data listed below. The mandatory prerequisites for the integration are:
- Facebook Developer account linked to a Facebook user account who has access to the company page on which the chatbot will appear – Register – Meta App Development – Documentation – Meta for Developers ;
- Facebook page in which the chatbot will appear – https://www.facebook.com/pages/creation/; You can create it directly from your Business Manager instance
- Create a Messenger type App (from the section Facebook dev) – Webhooks – Messenger Platform – Documentation – Meta for Developers ;
- Activated Business Manager account (to use both the page and the App) – https://it-it.facebook.com/business/help/1710077379203657?id=180505742745347;
- Do all the necessary checks required by Facebook for each of the steps where required;
- Access to the App >> click on “Messenger” from the menu and select “Settings” >> in “Pages” select your page and click on ”Add subscription” >> Select
messages
andmessages_postbacks
The configuration data to be provided to the Heres team are:
App_ID
(visible in the App header and at the section Settings > basic);FB_APP_SECRET
(accessible from the basic configuration of the App, it is used for the API on the App);FB_PAGE_TOKEN
(link between page and application).
Heres will then provide the client with a URL, to be entered in Messenger > Settings > Callback URL