EnglishIntegrationsFacebook Messenger

Facebook Messenger Integration

Connect FAQSure to your Facebook Page so Messenger conversations are answered automatically using your knowledge base.

How to Connect

Steps to Connect

  1. Get your Page ID, Page Access Token, and App Secret from the Facebook Developer portal — developers.facebook.com
  2. Enter these into FAQSure under Settings → Integrations → Facebook Messenger
  3. Copy the Webhook URL and Verify Token provided by FAQSure
  4. Set the Webhook in your Facebook App and subscribe to messages events
⚠️

You need to be an Admin of both your Facebook Page and your Facebook Developer App to complete this setup.

If you do not have admin access, contact the FAQSure team for further assistance.


Full Instructions

Step 1: Create a Facebook App and Get Your Credentials

  1. Go to developers.facebook.com and log in
  2. Click My Apps → Create App
  3. Select “Business” as your app type and click Next
  1. Enter an app name and your contact email, then click Create App
  2. In your app dashboard, find Messenger in the product list and click Set Up
  1. Under Access Tokens, click Add or Remove Pages and connect your Facebook Page
  1. Click Generate Token next to your Page — copy and save the Page Access Token
  1. Copy your Page ID from the same section
  2. Go to Settings → Basic in your app dashboard — copy the App Secret

Step 2: Connect in FAQSure

  1. In FAQSure, go to Settings → Integrations

  2. Click Facebook Messenger

  3. Enter the following values and click Connect:

    FieldWhere to find it
    Page IDFacebook App → Messenger → Access Tokens
    Page Access TokenFacebook App → Messenger → Access Tokens → Generate Token
    App SecretFacebook App → Settings → Basic
  1. FAQSure generates a unique Webhook URL and a Verify Token — copy both

    Webhook URL:  https://api.faqsure.io/api/v1/messenger/webhook/{your-integration-id}
    Verify Token: (shown in FAQSure settings)

Step 3: Set the Webhook in Your Facebook App

  1. In your Facebook App dashboard, go to Messenger → Settings
  2. Under Webhooks, click Add Callback URL
  3. Paste the Webhook URL and Verify Token from FAQSure
  1. Click Verify and Save — Facebook sends a challenge request to FAQSure to confirm the connection
  2. Under Webhooks, click Add Subscriptions next to your Page
  3. Check “messages” and click Save

FAQSure verifies the X-Hub-Signature-256 header on every incoming webhook to confirm messages genuinely come from Facebook before processing them.


Assign an Agent

By default, FAQSure uses your workspace’s default agent to answer Messenger messages. To use a specific agent:

  1. Go to Settings → Integrations → Facebook Messenger
  2. Under Agent, select the agent you want assigned to this channel
  3. Save