Facebook DM integration

Prerequisite

  1. Verified Facebook Developer Account. Login/Signup
  2. Verified Facebook Page How to find Facebook PageId
  3. Verified Facebook Buisness Manager Id

Steps

  1. On welcome screen, click on Create First App button.
    • Click on “My App” » “Add a New App”
    • How to Create a FBApp
  2. Here you’ll be asked for Display Name and Contact Email of your New App ID.
    • How to Create a FBApp
  3. From the popup enter “Display Name” of your new application and “Contact Email”, then click on the “Create App Id” Button.
  4. Once your app is created, you’ll have to add a Messenger “product”.
    • There are tons of jobs a Facebook app can be dedicated to, but we specifically want a private messaging application. Go to your app’s dashboard and click Set Up in the Messenger box.
    • Product Type
    • In the left-hand menu, you’ll then see Messenger under PRODUCTS
  5. Get your page token and app secret
    • AppSecrets
  6. Add new “Channel” in MeherY admin panel.
    • Enter all the details
    • “Verification Token” is provided by you, you can enter any secret string, just keep it handy for next step.
    • Once created you will see channel’s webhook url. This is unique url, created specifically for your channel.
    • Copy Webhook.
  7. Connect MeherY platform to your app
    • On the Products > Messenger > Settings page, go to the Webhooks section and click Subscribe To Events.
    • Webhook
    • Enter your webhook and Verification key

Table of contents