Chatbot event: https://chatbots.kktix.cc/events/chatbots-meetup-in-central-taiwan-008
Subscribe open data with LINEbot & notification by LINE NotifyLINE Developer RelationsNiJia Lin2020.08
View Slide
NiJia Lin• Developer Relations• External Evangelism• Internal EvangelismLINE Technology Evangelist
• LINE, GitHub, Heroku account.• Fork GitHub repository.• Deploy to Heroku.• Create LINE bot.• Create LINE Login & LIFF.• Create LINE Notify.• Set Crontab jobs.• Demo time.Agenda
LINE, GitHub , Heroku
Fork GitHubrepository.
LINE Notifyhttps://github.com/louis70109/LINE-subscribe-open-data-bot
https://github.com/louis70109/LINE-subscribe-open-data-bot
Create LINE bot
https://developers.line.biz/console/
• Channel name.• Channel description.• Category.• Subcategory.• Email address.• Select the checkbox.Create LINE bot
Create LINE bothttps://github.com/louis70109/LINE-subscribe-open-data-bot
Input BOT webhook URL
Wait a moment
Input BOT environment variables
Create 3 LIFFs
Create LIFFs
Input LIFFs environment variables
LINE Notifyhttps://notify-bot.line.me/zh_TW/
LINE Notifyhttps://notify-bot.line.me/zh_TW/• Provided by LINE.• One-way notification.• LINE official account.• LINE pushes messages to user.• Via OAuth 2.0.
LINE Notify
Input LINE Notify environment variables
Demo time
Type 所有縣市 to yourLINE bot
LIFFShare Target Picker
LIFF ShareTargetPicker & LINE Notify
LINE FRESH 2020 校園競賽https://linefresh.linecorp.com/ 50
LINE TECH FRESHhttps://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/51