Connecting Facebook and Instagram DMs to Inquiru
Updated June 14, 2026
Overview
A single Meta integration covers both Facebook Page DMs and Instagram Business DMs. Connecting your Facebook Page automatically picks up any linked Instagram Business account.
Step 1 — Prerequisites
What you need
- A Facebook Page with Messenger enabled.
- Optionally, an Instagram Business account linked to that Page (Settings → Linked Accounts).
- A Meta Developer app with the Messenger product added.
- A long-lived Page Access Token for that Page.
- Your app's App Secret (App Settings → Basic).
Generate a long-lived Page Access Token
In Graph API Explorer, select your app and page, then request a short-lived user token with the pages_manage_metadata and pages_messaging permissions. Exchange it for a long-lived page token using the token debug tool. Page tokens do not expire as long as the user's password doesn't change.
Step 2 — Connect in Inquiru
Enter your credentials
Go to Integrations → Messaging → Facebook & Instagram DMs and enter your Page Access Token and App Secret. Click Connect Meta.
Inquiru verifies the token, fetches your Page name, and automatically detects any linked Instagram Business account. Both channels are active from a single connection.
Copy the webhook details
After saving, Inquiru shows a Callback URL and Verify Token. Copy both for the next step.
Step 3 — Register the webhook in Meta
Configure the webhook
In your Meta App, go to Messenger → Settings → Webhooks. Add a webhook using the Callback URL and Verify Token from Inquiru. Subscribe to the messages and messaging_postbacks fields.
If you also want Instagram DMs, go to Instagram → Settings → Webhooks and repeat the same steps, subscribing to the messages field.
Step 4 — Create the integrations
Assign agents
Go to Integrations → Connect and create a Facebook DM integration and (if Instagram is linked) an Instagram DM integration, each assigned to your AI agent. Conversations from each channel appear separately in Inquiru with the appropriate channel label.
Echo message filtering
Inquiru automatically skips echo messages (messages the Page itself sent), so the AI never sees its own outgoing replies and cannot enter an infinite loop.
