Let customers connect WhatsApp with "Continue with Facebook
Set up your own Meta app as a Tech Provider so customers connect a WhatsApp number in Meta's window, with no values to copy and no webhook to add.
On this page
By default each customer connects a WhatsApp number by copying four values from their own Meta app. With Continue with Facebook (Meta calls it Embedded Signup) they sign in to Facebook, pick their number in Meta's window and are done. This needs one Meta app of your own that Meta has approved. Entering details by hand stays available to customers either way.
Meta's screens and review rules change. This page is exact about Chatilo's side and describes Meta's side in general terms; follow Meta's current wording where it differs.
What Meta has to approve
| Step at Meta | Why |
|---|---|
| Business verification | Meta confirms your company is real. Everything else waits for this. |
Advanced access to whatsapp_business_management and whatsapp_business_messaging (App Review) | Lets your app act for other businesses' WhatsApp accounts. |
| Access verification as a Tech Provider | Confirms you provide a service to other businesses. |
| App switched to Live | Until then only people with a role on the app can use it. |
You can set everything up in Chatilo and test it with your own Facebook account before Meta has approved anything, as long as that account has a role on the app.
Step 1: Prepare your Meta app
- At developers.facebook.com, create an app of type Business in your verified business, or open the one you use for Meta ads. See Set up your Meta ads app.
- Add the products WhatsApp and Facebook Login for Business.
- Under App settings → Basic, fill in the app icon, privacy policy address, terms address and your domain.
- Create the Embedded Signup configuration and copy its ID, as described next.
Get the Embedded Signup configuration ID
The configuration tells Meta what your sign-in window asks the customer for. You create it once.
In your Meta app's left menu, open Facebook Login for Business → Configurations.
If Facebook Login for Business is not in the menu, click Add product, find it and click Set up.
- Click Create configuration.
- Give it a name, for example
Chatilo WhatsApp signup. Only you see it. - For the login variation, choose WhatsApp Embedded Signup.
- For the access token, choose System-user access token. If Meta offers an expiry, choose one that never expires.
- For assets, choose WhatsApp accounts.
- For permissions, tick
whatsapp_business_managementandwhatsapp_business_messaging. Click Create.
The configuration appears in the list with a Configuration ID, a long number.
- Copy the Configuration ID. You paste it into Chatilo in Step 2.
Check what you copied: it is digits only, and it is not the same as your App ID.
Step 2: Enter it in Chatilo
- In the admin panel, open Settings and find Meta ads integration. Fill in App ID, App secret and a Webhook verify token (any phrase you choose) if they are not there yet.
- In the card WhatsApp: Continue with Facebook below it, paste the Embedded Signup configuration ID.
- Copy the Valid OAuth redirect URI shown there. In your Meta app, paste it under Facebook Login for Business → Settings → Valid OAuth Redirect URIs.
- Copy the Webhook callback URL shown there. In your Meta app, open Webhooks, choose WhatsApp Business Account, paste the address and your verify token, and subscribe to
messagesandmessage_template_status_update. Back in Chatilo, tick Show "Continue with Facebook" on the WhatsApp numbers page and save.
The badge on the card changes to On.
Step 3: Test it
- Sign in to Chatilo as a customer whose Facebook account has a role on your Meta app.
- Open Set up → WhatsApp numbers and click Continue with Facebook.
- Complete Meta's window with a test number.
- Send a message to that number from a phone. It should appear in the inbox, and the number's card should show a time under Last message event.
Step 4: Ask Meta for approval
In your Meta app, open App Review and request advanced access for the two WhatsApp permissions. Meta asks for a description and a screen recording of a customer connecting a number and sending a message in Chatilo; record Step 3. Then complete access verification and switch the app to Live.
How it works in Chatilo
- The customer's token is stored encrypted, like a token entered by hand.
- One webhook address serves every number connected this way. Meta signs each delivery with your app secret; Chatilo checks the signature and hands the event to the right customer's number.
- Numbers a customer connected by hand keep their own webhook address and their own app secret, and are never reached through the shared address.
- When a customer connects, Chatilo subscribes your app to their WhatsApp Business Account and registers the number for the Cloud API.
- Meta bills each customer directly for their messages, as before.
Common problems
Customers do not see the button
The tick is off, or the App ID, App secret or configuration ID is empty. All four are needed. Customers then see only the form for entering details by hand, which keeps working.
Meta shows an error as soon as the window opens
The configuration ID is wrong (for example the App ID was pasted instead), the configuration was deleted, or the redirect address from Step 2 has not been added to your Meta app.
"Facebook didn't complete the connection. Try again."
The customer closed Meta's window, or the redirect address in your Meta app does not match the one shown in Chatilo exactly.
It works for you but not for customers
Your app is still in Development mode, or advanced access has not been granted yet. Until then it works only for people with a role on the app.
"Meta didn't share a WhatsApp number."
The customer finished Meta's window without choosing a WhatsApp Business Account and a number.
A number connects but replies never arrive
The webhook in your Meta app is missing, uses a different verify token, or is not subscribed to messages. If you changed your App secret at Meta, save the new one in Chatilo: incoming messages are refused until it matches.
The note "Meta did not register the number for sending"
The number was probably registered before, for example with another provider. If sending works, ignore it. If not, check the number in WhatsApp Manager.