Chatilo
USDPrices shown in US dollars Sign in Start free trial
For platform admins

Set up the Meta app for ads

Create your own Meta app and enter its details so customers can connect Facebook lead forms and ad accounts from their workspace.

Last updated

On this page
  1. Before you start
  2. Steps
  3. What happens next
  4. Which plans get it
  5. Common problems

Customers can connect their Facebook lead forms and ad accounts with a Continue with Facebook button. That button works through a Meta app that you, the platform owner, create once. Until you set it up, customers see "This isn’t switched on for the platform yet" on their setup page.

Leads from click-to-WhatsApp ads are tracked on the customer's Ad results page without any of this.

Before you start

  • A Meta developer account and a business you can create an app for.
  • The site running on HTTPS at its final address.
  • A privacy policy page. Fill in Privacy policy under Legal pages in Platform settings; it is then shown at /privacy on your site.

Meta changes its developer screens often, so the steps on Meta's side are described in general terms.

Steps

  1. In Meta's developer site, create a business app. Add the Facebook Login for Business product and the Webhooks product.
  2. In Chatilo, open Platform settings and scroll to Meta ads integration.
  3. Fill in:

    • App ID and App secret, from the Meta app's basic settings.
    • Webhook verify token: any phrase you choose. You enter the same one in Meta.
  4. Click Save settings.
  5. Copy Valid OAuth redirect URI (it ends in /ads/callback) and add it to the Facebook Login settings of the Meta app as a valid OAuth redirect URI.
  6. Copy Webhook callback URL (it ends in /webhooks/meta-leads). In the Meta app's Webhooks product, choose the Page object, enter this address and your verify token, and subscribe to the leadgen field.

    Save the settings in Chatilo before this step, because Meta checks the address and token straight away.

  7. Submit the app for Meta's App Review with these permissions: leads_retrieval, pages_manage_ads, pages_manage_metadata, pages_read_engagement, pages_show_list and ads_read.

What happens next

  • Until Meta approves the permissions, only people who have a role on your Meta app can connect. After approval any customer can.
  • Customers on a plan with Meta ads integration ticked open Grow → Ad results, go to the setup page and click Continue with Facebook. See Connect Meta lead ads.
  • New leads arrive through the webhook and are processed by the background worker.

Which plans get it

The connect button is enabled only for workspaces whose plan includes the Meta ads integration feature. None of the starter plans has it ticked. See Set up plans and currencies.

Common problems

Meta says the callback URL or verify token could not be validated

The Webhook verify token in Chatilo is empty, not saved yet, or different from the one typed in Meta. Save the settings, then try again in Meta.

Customers still see "This isn’t switched on for the platform yet."

App ID or App secret is missing. Both are needed.

The Continue with Facebook button is greyed out for a customer

Their plan does not include Meta ads integration.

A customer gets a Meta error about permissions when connecting

The app's permissions are not approved yet and the customer has no role on your Meta app.

Cookies on this site

We use the cookies needed to run the site and keep you signed in. With your OK we also remember choices you make here, such as the currency for prices. We don’t use advertising or tracking cookies. Cookie policy