Setup Messenger

Create Facebook App & Page

If you've already have Facebook App & Page, skip this step. Otherwise, create a new Facebook App and Page. Perhaps create Facebook App guide will helps.

Add App Products

Now we'll need to add Webhooks and Messenger products to your app.

  • Click + Add Product in the menu
  • Onn Webhooks and Messenger, click Get Started. Add FB Apps Products

Setup Webhook

Now navigate to Webhooks menu item, select Page and click Subscribe to this topic you'll see a dialog. Facebook Webhook Subscribe

  • In "Callback URL", enter your webhook URL which you can find in Settings page (default is
  • In "Verify Token", enter GigaAI
  • Click Verify and Save

Setup Messenger

Now we have a webhook which ping Page events to our server. We'll need to tell which Facebook Pages and Events to ping.

  • Click on the Messenger menu item.
  • In Token Generation section, select a your page, you'll need to confirm permission for that page. After that step, you'll got Page Access Token.
  • In Webhooks box, click Edit events or Setup Webhooks if you didn't do the previous step, you'll see this dialog: Edit Page Subscription Fields
  • Select all items (we'll talk about this later), and click Save
  • In Select a page to subscribe your webhook to the page events section, select your page and click Subscribe

Update Plugin Settings

Now your server can retrieve message from Facebook, we need to update Access Token in Settings page so your server can send message back.

In WP Admin, navigate to Giga AI \ Settings \ Basics Giga Messenger Settings

  1. In Page ID box, enter your Facebook Page ID.
  2. In Page Access Token, paste the Page Access Token you've received from the previous step.
  3. In Page Name, enter page name for manage.
  4. That's it!

Your First Message

Congratulation! You've successfully built your bot. All easy right? Now it's time to talk with your bot

Try to send hi to your page with your app's administrator account. If you get reply from your page. Congratulation! Otherwise, please check your server requirements and previous steps.


Now What?

  • Continue with each guide in the the documentation menu.
  • If you can't get this to work, see Troubleshooting page.