Skip to content

Frontware/line-bot-webhook-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINE bot webhook - LINE Messaging API

webhook for LINE bot, when bot join the group will

Getting started local env

$ export LINE_CHANNEL_SECRET=YOUR_LINE_CHANNEL_SECRET
$ export LINE_CHANNEL_ACCESS_TOKEN=YOUR_LINE_CHANNEL_ACCESS_TOKEN
$ export ODOO_GROUP_BOT_UPDATE_URL=link to odoo function url

$ pip install -r requirements.txt

Run webhook

$ python app.py

Getting started with Heroku

heruku button

Deploy

then set Webhook URL: https://{YOUR_APP}.herokuapp.com/callback

deploy by yourself

heroku create
heroku info # then set Webhook URL: https://{YOUR_APP}.herokuapp.com/callback
heroku config:set LINE_CHANNEL_SECRET="..."
heroku config:set LINE_CHANNEL_ACCESS_TOKEN="..."
git push heroku master
heroku logs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published