Connect a Facebook Messenger sender
By connecting Facebook Messenger to Yapper, your assistant can reply to direct messages sent to your Facebook Pages. This page explains how to connect your Facebook Pages as senders, what the assistant supports on Messenger, and how to manage the connection.
Requirements
Before you begin, ensure you have:
- A Facebook Page that you manage (you must have administrator permissions for the Page).
- A Facebook account with access to that Page.
Your plan sets how many senders you can connect: one on Starter, three on Growth, any number on Scale. At the limit, the connect buttons under Settings → Senders are off and a card reads "Included in Growth" (or Scale); see senders and plans. When you grant several Pages at once and they don't all fit, none is connected.
Connecting Facebook Messenger
To connect your Facebook Page:
- In the Yapper dashboard, navigate to Settings → Senders.
- In the Defaults for new senders row above the connection options, check the Workspace timezone the senders this connection creates start on. It sets when scheduled and time-aware messages are sent; you can change it per sender afterward.
- Click the Connect Messenger button.
- Answer Which playbook should run on Messenger? — one of your playbooks or a new one — and, for a playbook that already runs on another sender, choose where new Messenger contacts start. Your recent Messenger conversations, imported during the connection, start in that phase too. See playbooks for when the question is skipped.
- You will be redirected to Facebook. Log in to your Facebook account and select the Pages you want to connect to Yapper.
- Grant the requested permissions for Yapper to manage your Pages and messages.
- After authorizing, you will be redirected back to the Yapper dashboard.
Each connected Facebook Page is registered as a separate sender, and every new Page picks up the timezone and the assistant you chose. In the Settings → Senders view, Messenger senders are grouped under a "Facebook Page {name}" section with the connection type listed as "Facebook Login".
Reconnecting a Page keeps its current timezone and playbook.
What the Assistant Does
Once connected, your assistant automatically handles incoming messages sent to your Facebook Page:
- Direct Messages: The assistant replies to DMs sent by customers.
- Message Edits: If a customer edits a message, the assistant updates its context and adjusts its replies accordingly.
- Reactions: Customer emoji reactions and removals are recorded in the conversation history.
- Read and Delivery Statuses: Yapper tracks when messages are delivered and read.
- Activity Sync: If a team member replies to a customer from another platform (like the native Facebook Page Inbox), Yapper records the reply in the conversation history.
Note: comments are not supported on Messenger. The assistant only replies to direct messages (DMs).
Messaging Window and Limits
- 24-Hour Window: Meta restricts automated replies to a standard 24-hour window from the customer's last message. Replies sent outside this window will fail.
- Page Limit: You can only connect Pages that fit within a single Facebook authorization page (approximately 25 Pages). If you manage more than this limit, you cannot complete the setup.
Message History Import
When you first connect or reconnect a Page, Yapper automatically imports recent conversation history.
- Shallow Import: Yapper imports up to the 2,000 most recent conversations, and up to the 20 newest messages for each. Imported photos and voice notes show as "[Image]" and "[Audio note]" placeholders; the media itself is not imported.
- No Greeting Trigger: Importing history does not trigger automated greetings. Imported customers start in the phase this sender's new contacts start in (see phases).
- Status Visibility: In Settings → Senders, you will see an "Importing DMs" status badge. If the import fails, it will show "DM import failed".
Disconnecting and Reconnecting
You can disconnect a sender or manage authorization directly from your Facebook settings or the Yapper dashboard. Yapper detects two main connection issues:
- Deauthorized: If you remove the Yapper application from your Facebook settings, the sender's status changes to deauthorized. The conversation history and sender configuration remain intact, but messaging is paused.
- Invalid Token: If Facebook invalidates your Page token (for example, due to a password change or app removal), the sender status changes to invalid token.
To resolve these connection issues and unblock the assistant, go to Settings → Senders and run the Connect Messenger flow again.
Disconnecting or deleting the Page
To stop a Facebook Page from replying, disconnect it from Settings → Senders; connecting it again here restores it. A deleted Messenger sender comes back with its history when you connect the same Page again in the same workspace. See disconnect-or-delete-a-sender.