# API & Messenger Integrations

This is a sample page demonstrating page metadata.

# API Integration

From Settings > Apps, click Messenger, then click Activate.

# Manual Sync Mode

  1. Create a new account at Facebook for Developers or log in with your existing account.
  2. Create a new app and choose Other as the app type. Then select Business. Enter a name for the app and skip selecting any Business portfolios.
  3. From the menu on the left side, click on Add product and choose Messenger.
  4. Under the Configure webhooks section, click on Configure.
    • Retrieve the Callback URL from Settings > Messenger > Messenger and Instagram settings > Get configuration URL.
    • Set the Verification Token in Settings > Messenger > Messenger and Instagram settings > Secret key, save the changes, and use it to verify the webhook.
    • In Webhook Fields, select the following: inbox_labels, message_deliveries, message_echoes, message_reactions, message_reads, messages, messaging_account_linking, messaging_handovers, messaging_optins, messaging_policy_enforcement, messaging_postbacks, messaging_referrals.
  5. In the Generate access tokens section, click Connect. Select the pages you want to sync and complete the process.
    • Under the Webhook Subscription column, click on Add Subscriptions. Choose the scopes you want: messages, messaging_postbacks, messaging_optins, message_reads, and message_echoes.
    • In the Tokens column, click on Generate. Copy the access token provided and paste it into Settings > Messenger > Facebook pages.
    • Copy the Page ID and Page Name and paste them into Settings > Messenger > Facebook pages.
    • Repeat these steps for all pages.
  6. Save the changes and you're done. The final step is to put the app in Live mode.

NB Several pages can be incorporated into the 1 META app

# Syncing Instagram

  1. From the menu on the left side, click Messenger > Instagram settings.
  2. In the Configure webhooks area, click on Configure. Repeat the steps you previously took for Messenger.
    • Under the Webhook Subscription area, click on Add Subscriptions. Select the following scopes: messages, messaging_postbacks, messaging_optins, messaging_seen.
    • Enter your Instagram ID in Settings > Messenger > Facebook pages > Instagram ID.
      • To get it, open your web browser and enter the following URL:
        https://graph.facebook.com/FACEBOOK-PAGE-ID/?access_token=ACCESS-TOKEN&fields=instagram_business_account
        Replace FACEBOOK-PAGE-ID and ACCESS-TOKEN with the corresponding Page ID and access token from the Facebook page linked to Instagram.
  3. Save the changes and you're done. The final step is to put the app in Live mode.

# Final Steps

  • Your app must be in Live mode. To do that, your app must be submitted for review and approved by Meta.
  • You can use the text at this link for the review process.

Note: This process is not covered by our support. If you require assistance, you can hire us.