This is a Botkit starter kit for facebook, created with the Yeoman generator
This bot is powered by a folder full of modules. Edit the samples, and add your own in the features/ folder.
# get secret
git secret reveal
# install prerequsites and launch app
npm install
npm start
for local development
ngrok http 3000
# note down ngrok tunnel url
# create facebook app follow https://medium.com/@pranavbhatia_26901/building-a-facebook-bot-using-botkit-ai-on-node-js-bd6146df401a
# verify webhook
for `callback url`: ngrok url (DO NOT add `/facebook/receive` at the end! it doesn\'t work)
for `verify token`: put `FACEBOOK_VERIFY_TOKEN` from `.env` file
for online app hosting in Heroku
heroku create <app_name>
heroku git:remote --app <app_name>
git push heroku master
# create facebook app follow https://medium.com/@pranavbhatia_26901/building-a-facebook-bot-using-botkit-ai-on-node-js-bd6146df401a
# verify webhook
for `callback url`: heroku url (DO NOT add `/facebook/receive` at the end! it doesn\'t work)
for `verify token`: put `FACEBOOK_VERIFY_TOKEN` from `.env` file