LINE Bot APIs introduction
and demonstration
Developer Relations
Nijia Lin
2021.07
Slide 2
Slide 2 text
NiJia Lin
LINE Technology Evangelist
Developer Relations
External Evangelism
Internal Evangelism
Slide 3
Slide 3 text
01
02
03
04
05
06
Outline
Messaging API introduction
Environment setting
Let’s play LINE Bot!
Deployment
Collaboration
Prized-Quiz
Slide 4
Slide 4 text
Messaging API
Introduction
Slide 5
Slide 5 text
Hot it works
內容
Slide 6
Slide 6 text
What's a channel?
內容
Slide 7
Slide 7 text
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
Slide 8
Slide 8 text
Messaging API Reply event Push event
LINE Platform
What you can do with the Messaging API
Slide 9
Slide 9 text
Messaging API Reply event Push event
LINE Platform
What you can do with the Messaging API
Slide 10
Slide 10 text
Messaging API Reply event Push event
LINE Platform
What you can do with the Messaging API
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
Slide 27
Slide 27 text
Let’s play LINE Bot!
Slide 28
Slide 28 text
Get Current User Profile
Slide 29
Slide 29 text
Get Sticker Keywords
Slide 30
Slide 30 text
Icon Switch
Slide 31
Slide 31 text
Change icon and display name
https://developers.line.biz/en/reference/messaging-api/#icon-nickname-switch
Slide 32
Slide 32 text
Change icon and display name
https://developers.line.biz/en/reference/messaging-api/#icon-nickname-switch
Slide 33
Slide 33 text
Quick Reply
Slide 34
Slide 34 text
A
B
C
• Camera action
• Camera roll action
• Location action
• Postback action
• Message action
• URI action
• Datetime picker action
What is Quick Reply?
Slide 35
Slide 35 text
Demo
Quick Reply
Slide 36
Slide 36 text
Rich Menu
Slide 37
Slide 37 text
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?
Slide 38
Slide 38 text
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?
Slide 39
Slide 39 text
Deployment
Slide 40
Slide 40 text
LINE API Status Site
https://api.line-status.info
Slide 41
Slide 41 text
Collaboration
Slide 42
Slide 42 text
LINE TECH FRESH
https://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/ 49