SlideShare una empresa de Scribd logo
1 de 39
Descargar para leer sin conexión
B 3 line bot live coding
B 3 line bot live coding
BOT API Trial
Sending Messages
• Text
• Image
• Video
• Audio
• Location
• Sticker
• Rich Message
BOT API Trial
Sending Messages
• Text
• Image
• Video
• Audio
• Location
• Sticker
• Rich Message
BOT API Trial
Sending Messages
• Text
• Image
• Video
• Audio
• Location
• Sticker
• Rich Message
BOT API Trial Problems
Complexity of features with rich UI/UX
Need to send message one-by-one in order to
receive response from users
Cannot join group
Etc…
API is complex
B 3 line bot live coding
LINE BOT & Messaging API
New Message
API
Added new
MessageType
Events that
can be accepted
via webhook
Participation
in groups
New features added to LINE Bot
New Messaging API
New Messaging API
LINE Chat
(1-on-1 or group)
1. Reply API
LINE Server Bot Application
LINE
Message
Your System
Webhook
Reply ID
New Messaging API
LINE Chat
(1-on-1 or group)
1. Reply API
LINE Server Bot Application
LINE
Message
Your System
Webhook
Reply ID
Message Reply
With reply ID
New Messaging API
LINE Server
2. Push API
LINE Chat
(1-on-1 or group)
Bot Application
LINE
Message
Your System
Push
with
user ID /
group ID
BOT API Trial Message API
curl -X POST ¥
-H 'Content-Type: application/json' ¥
-H 'X-Line-ChannelID: <Channel ID>' ¥
-H 'X-Line-ChannelSecret: <Channel Secret>' ¥
-H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥
-d '{
"to":["userId1"],
"toChannel":1383378250,
"eventType":"138311608800106203",
"content":{
"contentType":1,
"toType":1,
"text":"Hello, Jose!"
}
}’ https://trialbot-api.line.me/v1/events
BOT API Trial Message API
curl -X POST ¥
-H 'Content-Type: application/json' ¥
-H 'X-Line-ChannelID: <Channel ID>' ¥
-H 'X-Line-ChannelSecret: <Channel Secret>' ¥
-H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥
-d '{
"to":["userId1"],
"toChannel":1383378250,
"eventType":"138311608800106203",
"content":{
"contentType":1,
"toType":1,
"text":"Hello, Jose!"
}
}’ https://trialbot-api.line.me/v1/events
Too many Bot Info
Fixed Magic Number
Unknown value
Fixed Magic Number
New Messaging API
curl -X POST ¥
-H "Content-Type:application/json" ¥
-H "Authorization: Bearer <Access Token>" ¥
-d '{
"to": "userId or groupId",
"messages": [
{"type": "text", "text": "Hello LINE Bot" }
]
} ' https://api.line.me/v2/bot/message/push
New Messaging Type
New Message Type
Buttons Template
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
"text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
”text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
"text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
”text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
New Message Type
Confirm Template
{
"type": "template",
"altText": "this is an template",
"template": {
"type": “confirm”,
"text": "Are you sure?",
"actions": [{
"type": "message",
"label": "OK",
"text": "Yes, Please"
}, {
"type": "message",
"label": ”Cancel",
"text": "No thank you"
}]
}
}
New Message Type
Carousel Template
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
Now’s the Time to Begin Coding!!
B 3 line bot live coding
Webhook
LINE Chat
(1-on-1 or group)
LINE Server Bot Application
LINE
Message
Your System
Webhook
LINE Chat
(1-on-1 or group)
Event
{ "events": […] }
event
contact status
“follow” “unfollow”“message”
• Text
• Image
• Location
• Sticker
• Contact
event
contact status
“follow” “unfollow”
group status
“join” “leave”
“beacon” “postback”
“message”
• Text
• Image
• Location
• Sticker
• Contact
Postback?
Send Event to Your Server Directly with Parameters.
{
"replyToken": “xxxxxxxxxx",
"type": "postback",
"timestamp": 1462629479859,
"source": {
"type": "user",
"userId": "xxxxxxxxxxxx"
},
"postback": {
"data": "action=remind&itemId=123",
}
}
Bot Application
Webhook
Let’s Implement Bot Server!!
B 3 line bot live coding
B 3 line bot live coding
Summary
New Message
API
Added new
Message Type
Events that
can be accepted
via webhook
Participation
in groups
New features added to Messaging API
B 3 line bot live coding

Más contenido relacionado

La actualidad más candente

RESTful API Automation with JavaScript
RESTful API Automation with JavaScriptRESTful API Automation with JavaScript
RESTful API Automation with JavaScriptJonathan LeBlanc
 
The never-ending REST API design debate
The never-ending REST API design debateThe never-ending REST API design debate
The never-ending REST API design debateRestlet
 
Design Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIsDesign Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIsStormpath
 
REST API Design for JAX-RS And Jersey
REST API Design for JAX-RS And JerseyREST API Design for JAX-RS And Jersey
REST API Design for JAX-RS And JerseyStormpath
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTPradeep Kumar
 
Austin Day of Rest - Introduction
Austin Day of Rest - IntroductionAustin Day of Rest - Introduction
Austin Day of Rest - IntroductionHandsOnWP.com
 
Rest and the hypermedia constraint
Rest and the hypermedia constraintRest and the hypermedia constraint
Rest and the hypermedia constraintInviqa
 
40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently40+ tips to use Postman more efficiently
40+ tips to use Postman more efficientlypostmanclient
 
Mohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuthMohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuthfossmy
 
Rest & RESTful WebServices
Rest & RESTful WebServicesRest & RESTful WebServices
Rest & RESTful WebServicesPrateek Tandon
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsTessa Mero
 
Rest presentation
Rest  presentationRest  presentation
Rest presentationsrividhyau
 
Scalable Reliable Secure REST
Scalable Reliable Secure RESTScalable Reliable Secure REST
Scalable Reliable Secure RESTguestb2ed5f
 
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web servicesmwinteringham
 
Understanding REST
Understanding RESTUnderstanding REST
Understanding RESTNitin Pande
 
The Internet as Web Services: introduction to ReST
The Internet as Web Services: introduction to ReSTThe Internet as Web Services: introduction to ReST
The Internet as Web Services: introduction to ReSTBruno Kessler Foundation
 
RESTful services
RESTful servicesRESTful services
RESTful servicesgouthamrv
 
MongoDB.local Sydney: MongoDB Atlas for Your Enterprise
MongoDB.local Sydney: MongoDB Atlas for Your EnterpriseMongoDB.local Sydney: MongoDB Atlas for Your Enterprise
MongoDB.local Sydney: MongoDB Atlas for Your EnterpriseMongoDB
 
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...Thomas Witt
 

La actualidad más candente (19)

RESTful API Automation with JavaScript
RESTful API Automation with JavaScriptRESTful API Automation with JavaScript
RESTful API Automation with JavaScript
 
The never-ending REST API design debate
The never-ending REST API design debateThe never-ending REST API design debate
The never-ending REST API design debate
 
Design Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIsDesign Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIs
 
REST API Design for JAX-RS And Jersey
REST API Design for JAX-RS And JerseyREST API Design for JAX-RS And Jersey
REST API Design for JAX-RS And Jersey
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and REST
 
Austin Day of Rest - Introduction
Austin Day of Rest - IntroductionAustin Day of Rest - Introduction
Austin Day of Rest - Introduction
 
Rest and the hypermedia constraint
Rest and the hypermedia constraintRest and the hypermedia constraint
Rest and the hypermedia constraint
 
40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently
 
Mohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuthMohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuth
 
Rest & RESTful WebServices
Rest & RESTful WebServicesRest & RESTful WebServices
Rest & RESTful WebServices
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
 
Rest presentation
Rest  presentationRest  presentation
Rest presentation
 
Scalable Reliable Secure REST
Scalable Reliable Secure RESTScalable Reliable Secure REST
Scalable Reliable Secure REST
 
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web services
 
Understanding REST
Understanding RESTUnderstanding REST
Understanding REST
 
The Internet as Web Services: introduction to ReST
The Internet as Web Services: introduction to ReSTThe Internet as Web Services: introduction to ReST
The Internet as Web Services: introduction to ReST
 
RESTful services
RESTful servicesRESTful services
RESTful services
 
MongoDB.local Sydney: MongoDB Atlas for Your Enterprise
MongoDB.local Sydney: MongoDB Atlas for Your EnterpriseMongoDB.local Sydney: MongoDB Atlas for Your Enterprise
MongoDB.local Sydney: MongoDB Atlas for Your Enterprise
 
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
 

Destacado

B 7 a true agile team - global line news
B 7 a true agile team - global line newsB 7 a true agile team - global line news
B 7 a true agile team - global line newsLINE Corporation
 
A 1 opening & introduction
A 1 opening & introductionA 1 opening & introduction
A 1 opening & introductionLINE Corporation
 
B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2LINE Corporation
 
A 2 new world by the line bot
A 2 new world by the line botA 2 new world by the line bot
A 2 new world by the line botLINE Corporation
 
A 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcomeA 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcomeLINE Corporation
 
B 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line gameB 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line gameLINE Corporation
 
A 10 working environment and culture for line engineers
A 10 working environment and culture for line engineersA 10 working environment and culture for line engineers
A 10 working environment and culture for line engineersLINE Corporation
 
B 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flinkB 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flinkLINE Corporation
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line liveLINE Corporation
 
A 4 line login - line platform
A 4 line login - line platformA 4 line login - line platform
A 4 line login - line platformLINE Corporation
 
A 5 security x line platform
A 5 security x line platformA 5 security x line platform
A 5 security x line platformLINE Corporation
 
A 9 line shop powered by armeria
A 9 line shop powered by armeriaA 9 line shop powered by armeria
A 9 line shop powered by armeriaLINE Corporation
 
ディープラーニングで株価予測をやってみた
ディープラーニングで株価予測をやってみたディープラーニングで株価予測をやってみた
ディープラーニングで株価予測をやってみた卓也 安東
 
リアルタイム画風変換とその未来
リアルタイム画風変換とその未来リアルタイム画風変換とその未来
リアルタイム画風変換とその未来LINE Corporation
 

Destacado (20)

B 7 a true agile team - global line news
B 7 a true agile team - global line newsB 7 a true agile team - global line news
B 7 a true agile team - global line news
 
A 1 opening & introduction
A 1 opening & introductionA 1 opening & introduction
A 1 opening & introduction
 
B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2
 
A 2 new world by the line bot
A 2 new world by the line botA 2 new world by the line bot
A 2 new world by the line bot
 
A 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcomeA 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcome
 
A 6 group app platform
A 6 group app platformA 6 group app platform
A 6 group app platform
 
B 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line gameB 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line game
 
A 10 working environment and culture for line engineers
A 10 working environment and culture for line engineersA 10 working environment and culture for line engineers
A 10 working environment and culture for line engineers
 
B 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flinkB 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flink
 
B 4 gravty
B 4 gravtyB 4 gravty
B 4 gravty
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line live
 
A 4 line login - line platform
A 4 line login - line platformA 4 line login - line platform
A 4 line login - line platform
 
A 5 security x line platform
A 5 security x line platformA 5 security x line platform
A 5 security x line platform
 
A 8 line group call
A 8 line group callA 8 line group call
A 8 line group call
 
A 9 line shop powered by armeria
A 9 line shop powered by armeriaA 9 line shop powered by armeria
A 9 line shop powered by armeria
 
B 1 rinna and rinna
B 1 rinna and rinnaB 1 rinna and rinna
B 1 rinna and rinna
 
ディープラーニングで株価予測をやってみた
ディープラーニングで株価予測をやってみたディープラーニングで株価予測をやってみた
ディープラーニングで株価予測をやってみた
 
リアルタイム画風変換とその未来
リアルタイム画風変換とその未来リアルタイム画風変換とその未来
リアルタイム画風変換とその未来
 
S8 line engineer culture
S8 line engineer cultureS8 line engineer culture
S8 line engineer culture
 
S4 line business platform
S4 line business platformS4 line business platform
S4 line business platform
 

Similar a B 3 line bot live coding

An Introduction to Working With the Activity Stream
An Introduction to Working With the Activity StreamAn Introduction to Working With the Activity Stream
An Introduction to Working With the Activity StreamMikkel Flindt Heisterberg
 
Mikkel Heisterberg - An introduction to developing for the Activity Stream
Mikkel Heisterberg - An introduction to developing for the Activity StreamMikkel Heisterberg - An introduction to developing for the Activity Stream
Mikkel Heisterberg - An introduction to developing for the Activity StreamLetsConnect
 
Identifying Users Across Platforms with a Universal ID Webinar Slides
Identifying Users Across Platforms with a Universal ID Webinar SlidesIdentifying Users Across Platforms with a Universal ID Webinar Slides
Identifying Users Across Platforms with a Universal ID Webinar SlidesLooker
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdatePatrick Chanezon
 
My Journey into the Terrifying World of Hypermedia
My Journey into the Terrifying World of HypermediaMy Journey into the Terrifying World of Hypermedia
My Journey into the Terrifying World of HypermediaNordic APIs
 
Buiding application for social networks
Buiding application for social networksBuiding application for social networks
Buiding application for social networksĐỗ Duy Trung
 
Extensible RESTful Applications with Apache TinkerPop
Extensible RESTful Applications with Apache TinkerPopExtensible RESTful Applications with Apache TinkerPop
Extensible RESTful Applications with Apache TinkerPopVarun Ganesh
 
Technology for Teachers
Technology for TeachersTechnology for Teachers
Technology for Teachersedfactor
 
Open Social Presentation - GSP West 2008
Open Social Presentation - GSP West 2008Open Social Presentation - GSP West 2008
Open Social Presentation - GSP West 2008Patrick Chanezon
 
The Browser, the User and the Library (How to to be in between)
The Browser, the User and the Library (How to to be in between)The Browser, the User and the Library (How to to be in between)
The Browser, the User and the Library (How to to be in between)Guus van den Brekel
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Tech Community
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Tech Community
 
Barcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application DevelopmentBarcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application DevelopmentHoat Le
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdatePatrick Chanezon
 
WikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributionsWikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributionsAll Things Open
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016Robert Nyman
 
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"South Tyrol Free Software Conference
 
APIs for modern web apps
APIs for modern web appsAPIs for modern web apps
APIs for modern web appsChris Mills
 
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTechNETFest
 
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIsThe liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIsJorge Ferrer
 

Similar a B 3 line bot live coding (20)

An Introduction to Working With the Activity Stream
An Introduction to Working With the Activity StreamAn Introduction to Working With the Activity Stream
An Introduction to Working With the Activity Stream
 
Mikkel Heisterberg - An introduction to developing for the Activity Stream
Mikkel Heisterberg - An introduction to developing for the Activity StreamMikkel Heisterberg - An introduction to developing for the Activity Stream
Mikkel Heisterberg - An introduction to developing for the Activity Stream
 
Identifying Users Across Platforms with a Universal ID Webinar Slides
Identifying Users Across Platforms with a Universal ID Webinar SlidesIdentifying Users Across Platforms with a Universal ID Webinar Slides
Identifying Users Across Platforms with a Universal ID Webinar Slides
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social Update
 
My Journey into the Terrifying World of Hypermedia
My Journey into the Terrifying World of HypermediaMy Journey into the Terrifying World of Hypermedia
My Journey into the Terrifying World of Hypermedia
 
Buiding application for social networks
Buiding application for social networksBuiding application for social networks
Buiding application for social networks
 
Extensible RESTful Applications with Apache TinkerPop
Extensible RESTful Applications with Apache TinkerPopExtensible RESTful Applications with Apache TinkerPop
Extensible RESTful Applications with Apache TinkerPop
 
Technology for Teachers
Technology for TeachersTechnology for Teachers
Technology for Teachers
 
Open Social Presentation - GSP West 2008
Open Social Presentation - GSP West 2008Open Social Presentation - GSP West 2008
Open Social Presentation - GSP West 2008
 
The Browser, the User and the Library (How to to be in between)
The Browser, the User and the Library (How to to be in between)The Browser, the User and the Library (How to to be in between)
The Browser, the User and the Library (How to to be in between)
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Barcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application DevelopmentBarcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application Development
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social Update
 
WikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributionsWikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributions
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
 
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
 
APIs for modern web apps
APIs for modern web appsAPIs for modern web apps
APIs for modern web apps
 
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
 
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIsThe liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
 

Más de LINE Corporation

JJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LTJJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LTLINE Corporation
 
Reduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin CoroutinesReduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin CoroutinesLINE Corporation
 
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみたKotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみたLINE Corporation
 
Use Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extensionUse Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extensionLINE Corporation
 
The Magic of LINE 購物 Testing
The Magic of LINE 購物 TestingThe Magic of LINE 購物 Testing
The Magic of LINE 購物 TestingLINE Corporation
 
UI Automation Test with JUnit5
UI Automation Test with JUnit5UI Automation Test with JUnit5
UI Automation Test with JUnit5LINE Corporation
 
Feature Detection for UI Testing
Feature Detection for UI TestingFeature Detection for UI Testing
Feature Detection for UI TestingLINE Corporation
 
LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享LINE Corporation
 
​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享LINE Corporation
 
LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣LINE Corporation
 
日本開發者大會短講分享
日本開發者大會短講分享日本開發者大會短講分享
日本開發者大會短講分享LINE Corporation
 
LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享LINE Corporation
 
在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed KubernetesLINE Corporation
 
LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧LINE Corporation
 
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹LINE Corporation
 
LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享LINE Corporation
 
LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗LINE Corporation
 
LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務LINE Corporation
 
Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發LINE Corporation
 

Más de LINE Corporation (20)

JJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LTJJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LT
 
Reduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin CoroutinesReduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin Coroutines
 
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみたKotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
 
Use Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extensionUse Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extension
 
The Magic of LINE 購物 Testing
The Magic of LINE 購物 TestingThe Magic of LINE 購物 Testing
The Magic of LINE 購物 Testing
 
GA Test Automation
GA Test AutomationGA Test Automation
GA Test Automation
 
UI Automation Test with JUnit5
UI Automation Test with JUnit5UI Automation Test with JUnit5
UI Automation Test with JUnit5
 
Feature Detection for UI Testing
Feature Detection for UI TestingFeature Detection for UI Testing
Feature Detection for UI Testing
 
LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享
 
​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享
 
LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣
 
日本開發者大會短講分享
日本開發者大會短講分享日本開發者大會短講分享
日本開發者大會短講分享
 
LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享
 
在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes
 
LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧
 
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
 
LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享
 
LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗
 
LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務
 
Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發
 

Último

UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxBabel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxYounusS2
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 
Things you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceThings you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceMartin Humpolec
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIUdaiappa Ramachandran
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?SANGHEE SHIN
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostMatt Ray
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Commit University
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServiceRenan Moreira de Oliveira
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 

Último (20)

UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxBabel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptx
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 
Things you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceThings you didn't know you can use in your Salesforce
Things you didn't know you can use in your Salesforce
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AI
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 

B 3 line bot live coding

  • 3. BOT API Trial Sending Messages • Text • Image • Video • Audio • Location • Sticker • Rich Message
  • 4. BOT API Trial Sending Messages • Text • Image • Video • Audio • Location • Sticker • Rich Message
  • 5. BOT API Trial Sending Messages • Text • Image • Video • Audio • Location • Sticker • Rich Message
  • 6. BOT API Trial Problems Complexity of features with rich UI/UX Need to send message one-by-one in order to receive response from users Cannot join group Etc… API is complex
  • 8. LINE BOT & Messaging API New Message API Added new MessageType Events that can be accepted via webhook Participation in groups New features added to LINE Bot
  • 10. New Messaging API LINE Chat (1-on-1 or group) 1. Reply API LINE Server Bot Application LINE Message Your System Webhook Reply ID
  • 11. New Messaging API LINE Chat (1-on-1 or group) 1. Reply API LINE Server Bot Application LINE Message Your System Webhook Reply ID Message Reply With reply ID
  • 12. New Messaging API LINE Server 2. Push API LINE Chat (1-on-1 or group) Bot Application LINE Message Your System Push with user ID / group ID
  • 13. BOT API Trial Message API curl -X POST ¥ -H 'Content-Type: application/json' ¥ -H 'X-Line-ChannelID: <Channel ID>' ¥ -H 'X-Line-ChannelSecret: <Channel Secret>' ¥ -H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥ -d '{ "to":["userId1"], "toChannel":1383378250, "eventType":"138311608800106203", "content":{ "contentType":1, "toType":1, "text":"Hello, Jose!" } }’ https://trialbot-api.line.me/v1/events
  • 14. BOT API Trial Message API curl -X POST ¥ -H 'Content-Type: application/json' ¥ -H 'X-Line-ChannelID: <Channel ID>' ¥ -H 'X-Line-ChannelSecret: <Channel Secret>' ¥ -H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥ -d '{ "to":["userId1"], "toChannel":1383378250, "eventType":"138311608800106203", "content":{ "contentType":1, "toType":1, "text":"Hello, Jose!" } }’ https://trialbot-api.line.me/v1/events Too many Bot Info Fixed Magic Number Unknown value Fixed Magic Number
  • 15. New Messaging API curl -X POST ¥ -H "Content-Type:application/json" ¥ -H "Authorization: Bearer <Access Token>" ¥ -d '{ "to": "userId or groupId", "messages": [ {"type": "text", "text": "Hello LINE Bot" } ] } ' https://api.line.me/v2/bot/message/push
  • 18. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", "text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 19. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", ”text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 20. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", "text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 21. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", ”text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 23. { "type": "template", "altText": "this is an template", "template": { "type": “confirm”, "text": "Are you sure?", "actions": [{ "type": "message", "label": "OK", "text": "Yes, Please" }, { "type": "message", "label": ”Cancel", "text": "No thank you" }] } }
  • 25. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 26. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 27. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 28. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 29. Now’s the Time to Begin Coding!!
  • 31. Webhook LINE Chat (1-on-1 or group) LINE Server Bot Application LINE Message Your System Webhook LINE Chat (1-on-1 or group) Event { "events": […] }
  • 32. event contact status “follow” “unfollow”“message” • Text • Image • Location • Sticker • Contact
  • 33. event contact status “follow” “unfollow” group status “join” “leave” “beacon” “postback” “message” • Text • Image • Location • Sticker • Contact
  • 34. Postback? Send Event to Your Server Directly with Parameters. { "replyToken": “xxxxxxxxxx", "type": "postback", "timestamp": 1462629479859, "source": { "type": "user", "userId": "xxxxxxxxxxxx" }, "postback": { "data": "action=remind&itemId=123", } } Bot Application Webhook
  • 38. Summary New Message API Added new Message Type Events that can be accepted via webhook Participation in groups New features added to Messaging API