Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20200822 Subscribe open data with LINE

20200822 Subscribe open data with LINE

2102a6b8760bd6f57f672805723dd83a?s=128

LINE Developers Taiwan
PRO

August 22, 2020
Tweet

Transcript

  1. Subscribe open data with LINE bot & notification by LINE

    Notify LINE Developer Relations NiJia Lin 2020.08
  2. NiJia Lin • Developer Relations • External Evangelism • Internal

    Evangelism LINE Technology Evangelist
  3. • 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
  4. LINE, GitHub , Heroku

  5. None
  6. None
  7. None
  8. Fork GitHub repository.

  9. LINE Notify https://github.com/louis70109/LINE-subscribe-open-data-bot

  10. https://github.com/louis70109/LINE-subscribe-open-data-bot

  11. https://github.com/louis70109/LINE-subscribe-open-data-bot

  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. Create LINE bot

  19. https://developers.line.biz/console/

  20. None
  21. • Channel name. • Channel description. • Category. • Subcategory.

    • Email address. • Select the checkbox. Create LINE bot
  22. Create LINE bot https://github.com/louis70109/LINE-subscribe-open-data-bot

  23. None
  24. None
  25. None
  26. None
  27. Input BOT webhook URL

  28. Wait a moment

  29. Input BOT environment variables

  30. Create 3 LIFFs

  31. None
  32. None
  33. None
  34. Create LIFFs

  35. Create LIFFs

  36. Input LIFFs environment variables

  37. LINE Notify https://notify-bot.line.me/zh_TW/

  38. LINE Notify https://notify-bot.line.me/zh_TW/ • Provided by LINE. • One-way notification.

    • LINE official account. • LINE pushes messages to user. • Via OAuth 2.0.
  39. LINE Notify

  40. LINE Notify

  41. LINE Notify

  42. LINE Notify

  43. Input LINE Notify environment variables

  44. Demo time

  45. Type 所有縣市 to your LINE bot

  46. None
  47. LIFF Share Target Picker

  48. None
  49. LIFF ShareTargetPicker & LINE Notify

  50. LINE FRESH 2020 校園競賽 https://linefresh.linecorp.com/ 50

  51. LINE TECH FRESH https://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/ 51

  52. None