IT大道IT大道

首页 > 源码 > line_echobot: A django implementation of Line Bot

line_echobot: A django implementation of Line Bot

原文 https://github.com/Lee-W/line_echobot 2016-10-17 20:29:09 0 评论

A django implementation of Line Bot

文件列表

echobot
line_echobot
.gitignore
Procfile
README.md
manage.py
requirements.txt
runtime.txt

Readme.md

django linebot example

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

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/

Authors

Lee-W

License

MIT

下载地址

Download ZIP

Tags:Python

标签列表