This is an accompanying demo app to the messenger platform gem. It showcases how to use Facebook's messenger platform](https://developers.facebook.com/products/messenger/) into your rails app, allowing you to create bots to facilitate conversations with people on Facebook Messenger. It includes a mountable rails engine to handle webhooks, and a simple client to talk to the Send API and hook it up to to Wit.ai.
Clone the repository, and copy the the sample environment variables:
git clone [email protected]:tinkerbox/messenger_platform_demo.git
cp .env.sample .env
Run the migrations, and the server:
rake db:setup
rails server webrick
We are using WEBrick locally as it supports HTTPS connections pretty easily.