Skip to content

realsouji/LINE-OA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LINE CHAT BOT OFFICIAL

VIDEO TUTORIAL

linebot

Simple line bot creation using Python.

Requirements

  • Line SDK
    $ pip install line-bot-sdk
  • Web development micro framework
    $ pip install Flask
  • Deploy project to Heroku

Deploy

Setup Messaging API

Go to Line Developer Console, do as follows:

  • Fill in Basic Information section
  • Issue Channel Access Token (will use it later)
  • Use Webhooks set as Enabled
  • Webhook URL set as https://{YOUR_HEROKU_SERVER_ID}.herokuapp.com/callback

Setup Environment

Go to Heroku dashboard > Settings > Config Variables, add following app's secrets:

LINE_CHANNEL_SECRET='xxx'
LINE_CHANNEL_ACCESS_TOKEN='xxx'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%