Searching books in Kawasaki library by LINE BOT API.
$ git clone https://github.com/kiyodori/line-bot.git
It is easy to use Heroku for usage.
$ heroku create #{application name}
Fixie provides static IP addresses for outbound requests, so you can register Server IP Whitelist on LINE developers.
$ heroku addons:create fixie:tricycle
You can register LINE BOT API on LINE developers.
Callback URL example.
https://#{Heroku URL}:443/linebot/callback
You can register Server IP Whitelist by Fixie IP addresses.
$ heroku config:set LINE_CHANNEL_ID=#{Channel ID}
$ heroku config:set LINE_CHANNEL_SECRET=#{Channel secret}
$ heroku config:set LINE_CHANNEL_MID=#{Channel MID}
$ heroku config
$ git push heroku master