Facebook Messenger
Answer your Facebook Page's Messenger conversations from the same Contacts inbox as contact-form messages.
Connecting your Page
You must be an admin of the Facebook Page, and your platform account needs the Configuration permission and a sign-in within the last 5 minutes (you will be asked to sign in again if not).
- Go to Admin → Configuration → Facebook Messenger and click Connect.
- Sign in with Facebook and approve access to your Page.
- You are sent back to your shop's Configuration page. Pick the Page to connect.
The Facebook Messenger card only appears when the platform has been set up for Meta (see Operator setup below) and only for admins with the Configuration permission.
Using the inbox
- Messenger conversations appear in Contacts with a Messenger badge.
- You can reply within 24 hours of the customer's last message. After that, Meta blocks replies from the platform — reply in Meta Business Suite instead.
- Replies you send from Meta Business Suite also show up in the thread.
- Each sender becomes a customer tagged “messenger”. You can link a thread to an existing customer; the auto-created customer is removed only if it has no other activity.
- Disconnecting stops new messages from arriving but keeps all existing history.
Operator setup (platform host)
This is done once for the whole platform, not per shop. The platform host must be a registered tenant domain (the main platform tenant) so the routes below resolve.
- Create a Meta app (Business type) and add the Messenger product.
- Complete Business Verification.
- Pass App Review for
pages_messaging,pages_show_listandpages_manage_metadata. - Webhook callback URL
https://<platform-domain>/api/webhooks/meta, verify token equal toMETA_WEBHOOK_VERIFY_TOKEN. Subscribe tomessages,messaging_postbacksandmessage_echoes. - Add a valid OAuth redirect URI equal to
META_OAUTH_REDIRECT_URI:https://<platform-domain>/api/meta/oauth/callback. - Data deletion callback URL
https://<platform-domain>/api/meta/data-deletion. Users see progress at/meta/deletion/<code>.
Environment variables
META_APP_IDMETA_APP_SECRETMETA_WEBHOOK_VERIFY_TOKENMETA_GRAPH_VERSION— optional, defaults tov21.0META_OAUTH_REDIRECT_URISECRETS_ENCRYPTION_KEY— already required; Page tokens are stored encrypted with it