Facebook Messenger

If your subscription mode has third-party application integration enabled, you can access the Facebook Messenger integration using the following steps:

  1. Log in to Usizy’s Dashboard.
  2. Click on ‘Facebook Messenger’ in the left menu under the ‘Integrations’ submenu.

Now all you have to do is fill in the required information to integrate with your Facebook Messenger account.

Facebook Messenger Integration

Steps to obtain the API Token for Facebook Messenger:
  1. Log in to Facebook Developers Portal:
  2. Create or Use an Existing App:
    • Select an existing app or create a new one.
    • Ensure that Messenger is enabled as a product in the app settings.
  3. Obtain Page Access Token:
    • In the Messenger > Settings section, generate a Page Access Token.
    • Assign the token to the Facebook Page connected to your Messenger bot.
    • Copy the token and store it securely.
Steps to configure a Webhook for Facebook Messenger:
  1. Navigate to Webhooks in Facebook Developer Portal:
    • Go to: SettingsWebhooks.
  2. Configure the Webhook:
    • Callback URL: Enter https://sa-media.usizy.es/smart-assistant/messenger_webhook/.
    • Verify Token: Provide a token to validate the webhook (e.g., "mySecretToken").
    • Select the subscription fields for messages, messaging_postbacks, and message_reads.
  3. Save and Test the Webhook:
    • Click Save and use the "Test" feature in Facebook Developer Portal to ensure the webhook is working correctly.