Skip to content

daspk04/line_echobot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django linebot example

A django implementation of new Line Message API using line-bot-sdk-python

There is also sanic and flask implementation of this project on other branch.

Setup

Secret Data

You MUST setup the following variables.

There are two way to set these variables

  1. Set these variables in line_echobot/line_echobot/settings_secret.py(Exactly the same name)
  2. Add these variables to environment variables. (settings_secret.py is loaded first)

HTTPS Server

You'll need a https server.
Heroku can serve this for you.
All the needed settings for heroku are set in this repo.

Otherwise, you can also build your own https server.

Set Webhook URL

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

Tutorial

The following articles describe how to construct this bot in detail.

There is also a slide version.

Authors

Lee-W

License

MIT

About

A django implementation of Line Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%