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

LINE Bot APIs introduction and demonstration

LINE Bot APIs introduction and demonstration

NYCU Glocal Design Competition @ online

Speaker: Nijia Lin
Event: https://event.oia.nycu.edu.tw/

7975b9fd58c8945ae1c6b38747de7f28?s=128

line_developers_tw2

July 03, 2021
Tweet

Transcript

  1. LINE Bot APIs introduction and demonstration Developer Relations Nijia Lin

    2021.07
  2. NiJia Lin LINE Technology Evangelist Developer Relations External Evangelism Internal

    Evangelism
  3. 01 02 03 04 05 06 Outline Messaging API introduction

    Environment setting Let’s play LINE Bot! Deployment Collaboration Prized-Quiz
  4. Messaging API Introduction

  5. Hot it works 內容

  6. What's a channel? 內容

  7. What's a Provider? • Is an individual developer, company or

    organization • Can not change the channel PROVIDER after the channel is created • Do not use develop account to production environment
  8. Messaging API Reply event Push event LINE Platform What you

    can do with the Messaging API
  9. Messaging API Reply event Push event LINE Platform What you

    can do with the Messaging API
  10. Messaging API Reply event Push event LINE Platform What you

    can do with the Messaging API
  11. • Push messages • Multicast messages • Narrowcast messages •

    Broadcast messages Push event methods
  12. What you can do with the Messaging API

  13. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  14. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  15. Text & Sticker message

  16. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  17. Image, Video, Location message

  18. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  19. Template message

  20. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  21. Imagemap message

  22. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  23. Flex Message

  24. Message Event Imagemap message Flex message Text message Template message

    Location message Sticker message Image message Video/Audio Message Send various message types
  25. Environment Setting

  26. Python Development for LINE Bot Service NodeJS Assist development Git

    Clone and Publish resource from GitHub and Heroku LINE account LINE Bot service provider Heroku Demonstration environment Following tools you need to install
  27. Let’s play LINE Bot!

  28. Get Current User Profile

  29. Get Sticker Keywords

  30. Icon Switch

  31. Change icon and display name https://developers.line.biz/en/reference/messaging-api/#icon-nickname-switch

  32. Change icon and display name https://developers.line.biz/en/reference/messaging-api/#icon-nickname-switch

  33. Quick Reply

  34. A B C • Camera action • Camera roll action

    • Location action • Postback action • Message action • URI action • Datetime picker action What is Quick Reply?
  35. Demo Quick Reply

  36. Rich Menu

  37. A B C • Bottom of the LINE Bot chat

    screen. • Rich menus aren't displayed on LINE for desk- top (macOS, Windows). • Is a JPEG or PNG image file. What is Rich Menu?
  38. A B C • Image format: JPEG or PNG •

    Image width size (pixels): 800 to 2500 • Image height size (pixels): 250 or more • Image aspect ratio (width/height): 1.45 or more • Max file size: 1 MB What is Rich Menu?
  39. Deployment

  40. LINE API Status Site https://api.line-status.info

  41. Collaboration

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

  43. None
  44. THANK YOU