This is a simple Facebook Messenger Webhook, which allows you to receive and send messenges.
- Use tutorials to get API key:
- Create heroku account and create app there.
- Go to
Settings
section and addConfig Vars
pair:PAGE_ACCESS_TOKEN
and token you got via first step. - Add another pair:
VERIFY_TOKEN
and any value you want. - Go to
Deploy
section and deploy that bot
Now click on open app
button and you would get "Hello world" page.
If you not, use heroku logs to find bug.