Skip to content

zebra0127/20161219Weather_Line_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weaher Line Bot

Line Message API using line-bot-sdk-python.

Setup

Register

Go to Line Business Center.

HTTPS Server

I use Heroku as a server . Get an account and create a project.

Then open terminal $ heroku login $ heroku git:clone -a "your heroku project name" $ cd "your heroku project name"

Then put all these file into the directory.

Then, after putting all these file into the directory. $ git add . $ git commit -am "make it better" $ git push heroku master

Set Webhook URL

Set webhook url on your LINE Developers page to https://"your domain name"/echobot/callback/

Remember

Set these three variables. 1. SECRET_KEY 2. LINE_CHANNEL_ACCESS_TOKEN 3. LINE_CHANNEL_SECRET

You can do it by: 1. Set in your Heroku project's setting page. 2. Set in weather_bot/settings_secret.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages