Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Lee-W/line_echobot

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

Releases

No releases published

Packages

No packages published

Languages