S2 messaging api

41
MESSAGING API KEVIN LUO Application Analyst

Transcript of S2 messaging api

Page 1: S2 messaging api

MESSAGING API

KEVIN LUO Application Analyst

Page 2: S2 messaging api

Outline • Why

• Features

• Use Cases

• Next Steps

Page 3: S2 messaging api

Why

Page 4: S2 messaging api

Services

LINE OAOver 3000 Accounts

LINE@Over 3 Million

Accounts

Chat BOT Service Manual to Automatic

Page 5: S2 messaging api

BOT API Trial

• Apr 07 ~ Nov 16

• More than 20k developers

• We got feedback from developers

Page 6: S2 messaging api

3 New Features

GROUP /CHAT

Page 7: S2 messaging api

Group/Room

Bot

Bot

Page 8: S2 messaging api

Event Organiser

Page 9: S2 messaging api

3 New Features

NEW MESSAGE

TYPE

GROUP /CHAT

Page 10: S2 messaging api

Confirm Button Carousel

Page 11: S2 messaging api

Imagemap

• Multiple areas

• Different actions • URI

• message

• postback

Page 12: S2 messaging api

More Template Messages

• Template message is HTML type message

• Develop more templates

• Even work with partners

Page 13: S2 messaging api

3 New Features

REPLY /PUSH

NEW MESSAGE

TYPE

GROUP /CHAT

Page 14: S2 messaging api

Reply / Push

user send message

Reply from bot

Push from bot

new

Page 15: S2 messaging api

How Does It Work?

LINE APP

webhook (https)

API call (https)response (https)

request (https)

Your BotLINE Bot Platform

Page 16: S2 messaging api

How to in your Bot?

Session management Refresh access token

Traffic burst Async mode

User behaviour trackingYour BotLINE USER

Page 17: S2 messaging api

API Design Improvement

Page 18: S2 messaging api

Intuitive & Simplicity & Secure

Page 19: S2 messaging api

Messaging API Bot API (Deprecated)

Developer Trial Account Trial Account

Webhook event objectReceiving message Receiving operation

Imagemap message Rich message

Reply message Sending message

Push message Sending message

Template message n/a

Reply token n/a

User_id (different from each Bot provider) Mid

Page 20: S2 messaging api

Webhook Event Object

Message Text, Image, Audio, Video, Sticker, Location

Follow Added as friend

Unfollow Blocked

Join Join group/room

Leave new Leave group/room

Postback new From template action

Beacon new Got beacon signal

Page 21: S2 messaging api

Location Event Object

Page 22: S2 messaging api

Postback Event Object

Page 23: S2 messaging api

SDK Support

• Easily use

• Wrap up data parsing

• Simplify message composing

• Many languages

• https://github.com/line/

Page 24: S2 messaging api

Php Sample

Page 25: S2 messaging api

Use Cases

Page 26: S2 messaging api

台北市政府(@taipei)

Page 27: S2 messaging api

COSCUP 2016

Page 28: S2 messaging api

愛捐⾎血(@blood)

Page 29: S2 messaging api
Page 30: S2 messaging api

Develop NOW !!!

(App) https://business.line.me (Bot) https://developers.line.me

(Bot) https://admin-official.line.me

Page 31: S2 messaging api

Terms & Relations

Personal LINE Account

Business

LINE OA

BC(Business Connect) Messaging API

LINE @

Messaging API

Page 32: S2 messaging api

Login & Add Company

https://business.line.me/en/

Page 33: S2 messaging api
Page 34: S2 messaging api
Page 35: S2 messaging api
Page 36: S2 messaging api
Page 37: S2 messaging api

Bot Settings

Features Disabled: 1-on-1 LINE@ app Store Chat Enable

Page 38: S2 messaging api
Page 39: S2 messaging api

Channel Developers

Page 40: S2 messaging api

Channel ID Channel Secret

Webhook URL Channel Access Token

Page 41: S2 messaging api

Thank you and Enjoy!