Skip to content

mong0520/ChainChronicle_LineBot_Interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChainChronicle_LineBot_Interface


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

How to Use

需要在 Heroku 設定以下環境變數 (Config Vars)

Secret: {LINE_API_SECRET_KEY}

Token: {LINE_API_SECRET_TOKEN}

FlickrApiKey: {FLICKR_API_KEY}

FlickrApiSecret: {FLICKR_API_SECRET}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages