Overview
Facebook Messenger integration allows your agent to respond to messages sent to your Facebook Business Page.2.9B Users
Massive Facebook user base
Page Integration
Connect to business page
Rich Media
Images, videos, buttons
Social Context
See user’s public profile
Prerequisites
Meta updates Facebook and its developer tools frequently. The steps below describe what you need; for exact, up-to-date screens, see Meta’s Messenger Platform documentation.
1
Facebook Business Page
You need admin access to a Facebook Page. The dashboard method connects it for you via Facebook login — no developer app required.
2
Facebook App (CLI only)
Only needed for the CLI method. Create one at developers.facebook.com.
Connection Method 1: Admin Dashboard (Recommended)
The dashboard connects Facebook via Facebook Login (OAuth) — you authorize Lua in a Facebook popup and pick your Page there, so there’s nothing to copy or paste. Use the CLI method if you’d rather supply a Page access token manually.
1
Open the dashboard
2
Open your agent
Click Agents in the main side navigation, then select your agent’s card.
3
Add a channel
Click the + (plus) icon to add a channel, then choose Facebook.
Screenshot: The agent’s add-channel (+) control and the channel options

4
Accept terms & connect
Tick the box to accept the Terms of Service and Privacy Policy, then click Connect.
5
Authorize with Facebook
A Facebook login popup opens. Log in, select the Page you want to connect, and grant the messaging permissions Facebook requests. When the popup closes, the channel is connected.
This popup is Facebook’s own UI and changes periodically. See Meta’s Messenger Platform documentation if you get stuck.
6
Connection success
Facebook appears in your connected channels and is ready to receive messages.
Connection Method 2: CLI (Advanced)
CLI Setup with Page Token
1
Get Page Access Token
From your Facebook App Dashboard:
- Go to your app
- Messenger → Settings
- Generate a Page Access Token
- Copy the token
2
Get Page ID
From your Facebook Page:
- Go to page settings
- Copy Page ID
facebook.com/[page-id]3
Run lua channels
4
Configure Webhook in Facebook App
- Go to App Dashboard
- Messenger → Settings → Webhooks
- Click “Add Callback URL”
- Paste the webhook URL from the CLI output
- Enter your verify token
- Subscribe to
messages,messaging_postbacks, andmessaging_optins
Testing
1
Send a message to your Page
Open Messenger and send a message to your Page (for example, “Hi!”).
2
Agent responds
Your agent replies automatically in the Messenger thread.
3
View in admin
Monitor the conversation in the admin dashboard.
Screenshot: The conversation in the admin dashboard

Features
Text Messages
Send and receive text
Rich Media
Images, videos, files
Quick Replies
Suggested response buttons
Templates
Reusable message templates
Best Practices
Response Time
Response Time
- Respond quickly (within minutes)
- Facebook shows “Typically responds in…”
- Fast responses improve visibility
Use Page Features
Use Page Features
- Set greeting message
- Configure away message
- Use quick replies
- Add call-to-action buttons
Monitor Page Rating
Monitor Page Rating
- Check page rating regularly
- Respond to all messages
- Address negative feedback
Next Steps
Connect Instagram DMs
Add email support

