this bot is using line-bot-sdk-python from https://github.com/line/line-bot-sdk-python
$ export CHANNEL_SECRET=YOUR_LINE_CHANNEL_SECRET
$ export CHANNEL_ACCESS_TOKEN=YOUR_LINE_CHANNEL_ACCESS_TOKEN
$ pip install -r requirements.txt
Run the bot
$ python app.py
then set Line bot Webhook URL: https://{YOUR_APP}.herokuapp.com/callback
define CHANNEL_SECRET and CHANNEL_ACCESS_TOKEN in config vars
heroku create
heroku info # then set Line bot Webhook URL to: https://{YOUR_APP}.herokuapp.com/callback
heroku config:set CHANNEL_SECRET="..."
heroku config:set CHANNEL_ACCESS_TOKEN="..."
git push heroku master
heroku logs