Facebook Messenger

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:

  1. 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 ;
  2. Facebook page in which the chatbot will appear – https://www.facebook.com/pages/creation/; You can create it directly from your Business Manager instance
  3. Create a Messenger type App (from the section Facebook dev) – Webhooks – Messenger Platform – Documentation – Meta for Developers ;
  4. Activated Business Manager account (to use both the page and the App) – https://it-it.facebook.com/business/help/1710077379203657?id=180505742745347;
  5. Do all the necessary checks required by Facebook for each of the steps where required;
  6. 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 and messages_postbacks

The configuration data to be provided to the Heres team are:

  1. App_ID (visible in the App header and at the section Settings > basic);
  2. FB_APP_SECRET (accessible from the basic configuration of the App, it is used for the API on the App);
  3. 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