FB Messenger Bot for WooCommerce


Automatically message your clients from your Facebook page, either from WooCommerce or Gravity Forms. The plugin creates a “send to facebook” button at
the end of the WooCommerce Sales process or on the Gravity Forms thank you page. (see Screenshots)


This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/wpmessengerbot directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. On the left menu, you will now see WP Messenger Bot, you can add all the settings there.


How do I connect to Facebook
Create a FB Developer App at https://developers.facebook.com/apps/
1.1 Save your new App ID on the Plugins Settings Page

On FB Developer Section, please fill in the following items:
Add “Messenger” as a Product
Get the Page Access Token
Go to the “Token Generation” section on the Products->Messenger Screen.
Select the Facebook Page you want to use for the app
Paste the newly generated Access Token into your Access Token section in the WordPress plugin settings

Add webhooks which allow authentication between the FB page and the Website
On your Facebook App, goto — Add Product -> Webhooks ->
Add a Subscription: New Subscription
Call BackURL is your DOMAIN name (https://domain.com)
Fill out the Verify Token which can be found in the Plugin settings.
Add the following Subscription Fields: message_optins
Click “Verify and Save”

How do I enable the Gravity forms hooks ?
preface your form title with mbot_ for example if your form title was “contact us” it would not be “mbot_contact us” this will automatically tell Gravity
forms to open a link to the users FB profile and message them once they authenticate

How do I activate WooCommerce messaging ?
As soon as your FB Developer App is approved, once a user authenticates, they will automatically be sent the order updates and notes that you add to the order.

How do I find my FB Page ID
visit this site http://findmyfbid.com/

Why are the messenger checkbox and send to messenger button not displayed?
Please wait for your App to be approved by the Facebook Development team


Read all 1 review

Contributors & Developers

“FB Messenger Bot for WooCommerce” is open source software. The following people have contributed to this plugin.




Updated FAQ to reflect the correct FB App creation procedure


Initial public release