For the complete documentation index, see llms.txt. This page is also available as Markdown.

Meta Messenger integration

Before integrating Meta Messenger with OMniLeads, you need an active Meta Business Manager account and an app configured for the service.

The following are the general and recommended steps to complete the registration process from the official Meta environment:

1. Meta Business Manager access

  • If you already have a Business Manager, simply log in. If you don't have one yet, create your business account by providing your company name, email address, and website.

2. Business Verification

  • It's always important to verify the business that will be using the channel to ensure compliance with the Service Usage Policies. Go to Business Settings and complete the business identity verification process.

Meta will request official documents that prove the existence of the business (CUIT, tax registration, company name, etc.). This step is essential for a proper verification process.

3. Application Creation

The following describes a series of steps in the Wizard for using the Meta Messenger API (as well as other channels).

Since Meta may change the registration procedure without prior notice, it is important to visit the manufacturer's website and review the details of the process. https://developers.facebook.com/docs/messenger-platform/conversations.

  • Once inside the panel of Meta for Developers, Go to the “My Apps” section and select Create New App (if you already have one, you can skip the rest of the steps and go directly to Step 4).

  • Follow the App Creation Wizard, completing the required information at each step of the form.

  • In Use Cases, select "Other," and in App Type, select "Business." In this final part of the Wizard, you can connect your app to the business portfolio and grant certain application-level permissions for using the Meta API.

  • Once the app has been created, select Messenger from the list of available products and click Configure.

4. Webhook configuration

  • In the Messenger API Configuration section, we define the webhook or web service that will be used in OMniLeads, respecting the following format:

https://my_omnileads/webhook/facebook_messenger/<App_ID>/ Where my_omnileads is the instance hosting the OMniLeads platform, and AppID is the identifier of the app created in Meta Developers. Remember that the digital certificates used for HTTPS must be valid, and the domain name or FQDN (Fully Qualified Domain Name) must be reachable on the internet. It is also important to define a verification token, which will be used for the session challenge.

5. Event Subscription:

  • The following is a list of the events to which the webhook must subscribe:

feed message_deliveries messages messaging_postbacks messaging_referrals

6. Setting Landing Page and access Token

In the "Generate Access Tokens" section, add the Facebook page using the "Add Page" button (this will take you to the Landing Page section, which you can access from your Facebook account). It's important to have administrator privileges for this asset. Clicking the "Generate" button will generate a permanent token, which you'll need to register the landing page in the Connections -> Meta/Facebook menu of OMniLeads.

Important: Remember that the Meta App must be approved for commercial use. Therefore, you must continue through this wizard in Meta to request permission and explain the required use case.

Done!

We are now ready to configure the settings from the OMniLeads app. To do this, from the menu “Connections → Meta/Facebook → Pages”, we will configure a new resource to interact with Meta Messenger.

For more details, visit the section Landing Pages.

Last updated