Skip to content

tleekkul/line-bot-python-heroku

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line-bot-python-heroku


API : https://devdocs.line.me/en/
line-bot-sdk-python : https://github.com/line/line-bot-sdk-python
Fixie : https://elements.heroku.com/addons/fixie


  1. 註冊Line Messaging API
    https://business.line.me/zh-hant/services/bot
  • 記下Channel Access Token``Channel Secret
  1. Deploy 到 Heroku (需先註冊Heroku帳號)
    Deploy

  2. 修改app.py參數
    line_bot_api = LineBotApi('') #Your Channel Access Token
    handler = WebhookHandler('') #Your Channel Secret

  3. Add-ons Fixie
    https://elements.heroku.com/addons/fixie

  4. 到Line developers 設定Webhook URL
    https://{YOUR_HEROKU_SERVER_ID}.herokuapp.com/callback

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%