- Install
foremanwithgem install foreman - Setup an
.envfile with the following variables:
PAGE_ACCESS_TOKEN: You will get this from the Facebook page for your appVERIFY_TOKEN: This can be a random string -- make sure you set this same string while setting up your webhook in Facebook.
- Install ngrok for reverse tunneling
Run your bot from the command line:
$ ./script/server