Facebook App Setup

Log into Facebook for Developers and Go to MyApps

Create New App

  1. Click "Create App"

  2. Choose "Business" from the "Select an app type" popup

  3. Click "Continue"

  4. Add "App Display Name"

  5. Add "App Contact Email"

  6. Choose "App Purpose" as "Yourself or your own business"

  7. Choose a Business Manager account if you have one

  8. Click "Create App"

Add Products to Your App

  1. Find the "Messenger" from the page and click "Set Up"

Access Tokens

  1. Click "Add or Remove Pages"

  2. Complete the Facebook authentication and select the pages

  3. Generate token by clicking the button "Generate Token"

  4. Copy that generated token

  5. Go back to our dashboard

    1. Go to "Application Settings"

    2. Click "Facebook Messenger Setup"

    3. Add the generated token in the field "Token"

    4. Add a "Verification Key" (This can be any string)

    5. Click "Save Changes"

Webhooks

  1. Click the "Add Callback URL" button

  2. Add "Callback URL"

  3. Add "Verify Token" (This is the Verification Key you have added in the previous step)

  4. Click "Verify and Save"

  5. The verification should be successful before moving forward

Your Callback URL will be https::yourdomain.com/botman

Add Subscriptions

  1. Click the button "Add Subscription"

  2. Choose the following fields from the Subscription Fields

    1. messages

    2. messaging_postbacks

    3. messaging_referrals

  3. Click "Save"

Last updated

Was this helpful?