Skip to content

hidehiro98/line-bot-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINE Bot 101

日本語ドキュメント

What we use

NOTION!

DO NOT INCLUDE 'line' in the name of provider and channel. If you do so, you cannnot create the provider nor the channel.

Installation

$ git clone https://github.com/hidehiro98/line-bot-101.git
$ cd line-bot-101
$ git remote add heroku https://git.heroku.com/YOUR-APP-NAME-ON-HEROKU.git

macOS
If you don't have brew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then
$ brew install heroku/brew/heroku

Ubuntu
$ sudo snap install --classic heroku

$ git push heroku master

Please ignore these lines
$ brew install heroku/brew/heroku
$ heroku create $YOUR_APP_NAME

$ heroku config:set LINE_CHANNEL_SECRET=$YOUR_LINE_CHANNEL_SECRET
$ heroku config:set LINE_ACCESS_TOKEN=$YOUR_LINE_ACCESS_TOKEN
Example
$ heroku config:set LINE_CHANNEL_SECRET=f73d5df3fagu3g301856e1dc4cfcf3e1
$ heroku config:set LINE_ACCESS_TOKEN=FbKBF7cB1HReh9lIc6M3bDz8Rd6D+0f1kvBaJF93QadC7SsGpHP9K1EOOYkbwRThXHdVSSupJ4TgKMEtE/LbnE2heif2GZci+ntGdP89cGfrbLiofFFBlrFygi58f/B5UsvqkvlfNM7BHddRZhhV2RgdB04t89/1O/w1cDnyilFU=

Only for image recognition
$ heroku config:set IBM_IAM_API_KEY=$YOUR_IAM_API_KEY

$ git push heroku master

Slides

https://www.slideshare.net/HidehiroNagaoka/le-wagon-tokyo-line-bot-101

Docs

Docs of LINE Messagin API

Docs of Sinatra

Docs of IBM Watson

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages