=== WP Messenger Bot === Contributors: pigeonhut Tags: WooCommerce messenger, Facebook messenger Requires at least: 4.5 Tested up to: 4.7.2 Stable tag: 1.1.1 License URI: http://www.gnu.org/licenses/gpl-2.0.html Automatically message from your Facebook page to clients, either from WooCommerce or Gravity Forms. == Description == Automatically message from your Facebook page to clients, either from WooCommerce or Gravity Forms. Due to Facebook's complex way of dealing with things, setup is not as easy as it should be, but it is a onetime job. Need to create an app from https://developers.facebook.com/apps - We get App Id Then need to add a product Messsenger - Need at least a page for this to work - select a page and get (page access token) -Setup webhooks -select webhook event messaging_optins (only this is required if all are selected it sends multiple callbacks to server causing for loops) - when setting up webhook it will ask for token (which is already specified on plugin settings) and url its the url of our website must be https - After setting up webhook subscribe the page to webhook - Then send the app for review to facebook - Make the app public from App Review section - Add app id, page access token, and page id to plugin settings (we can get page id by going to fb page and copy id from url the last numeric part after page name) - We are using gravity form for form purposed (use the title of the form eg "mbot form" , checking for mbot since the hook will get triggered on all gravity form submission and we need to capture only this form) - Add the short code [mbot_fb_auth] on form filled success page or any where in case of woocommerce (It displays a messenger button upon clicking connects to our app, then app can trigger messages on forward) == Installation == 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. == Frequently Asked Questions == = Where do I create a Developer App for Facebook= please visit https://developers.facebook.com/apps and signin with your Facebook profile == Screenshots == 1. /assets/facebook-review.png 2. /assets/google-review.png 3. /assets/woocommerce-review.png 4. /assets/testimonial-review.png 5. /assets/all-reviews-review.png == Changelog == = 1.1.1 = Initial public release == Upgrade Notice == = 1.0 = nothing yet