s4 line business platform

36

Upload: line-corporation

Post on 20-Mar-2017

4.021 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: S4 line business platform
Page 2: S4 line business platform

1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify

Page 3: S4 line business platform

1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify

Page 4: S4 line business platform
Page 5: S4 line business platform

LINE PLATFORM

LINE LOGIN

Overview of the LINE Platform

BUSINESS CONNECT

TIMELINE

MESSAGING APILINE PAY

LINE STORE LINE GAMES

LINE SERVICE

LINE APPLICATION

Page 6: S4 line business platform

LINE Business Platform

Services that help companies or shop owners do business by LINE

Enhancements in LINE itself to make users connect with businesses easily

API or services for developers to make LINE an ecosystem for business

Page 7: S4 line business platform

New Features of LINE Business Platform

LINE Login

Messaging API

Other services

LINE Official Web App

Profile+

LINE Notify User

LINE Customer Connect

LINE VoIP LINE SMS

Page 8: S4 line business platform

1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify

Page 9: S4 line business platform
Page 10: S4 line business platform

Official Web AppOfficial Web App Seamless Experience for End-Users

LINE

Account

Web Service

LINE Login

Messaging API

Profile+

Other services

+

+

+

Page 11: S4 line business platform

Most of the web services have their membership system

Problem

Page 12: S4 line business platform

Integration with WEB / Android /

iOS

Login using users’ LINE account information

Autologin from the LINE app

So what can LINE Login do?

Page 13: S4 line business platform

LINE Login structure

Web login with authentication using the OAuth 2.0 protocol

Native SDKs for user login using app-to-app authentication

Page 14: S4 line business platform

OAUTH 2.0 FlowWeb Browser Developer Server LINE Channel Gateway

Page 15: S4 line business platform

LINE Login demo

https://github.com/line/line-login-starter

Page 16: S4 line business platform
Page 17: S4 line business platform

Where do I register?To start developing with LINE Login, register for an account from the LINE Business Center

https://business.line.me

Page 18: S4 line business platform

ProblemUser profiles exist in all business web sites

Page 19: S4 line business platform

Profile+• Name, address, phone number,

e-mail, gender, birthday

• Multiple addresses could be set

• User chooses what information to provide

• Better user experience through integration with LINE

Page 20: S4 line business platform
Page 21: S4 line business platform
Page 22: S4 line business platform

Official Web AppOfficial Web App Seamless Experience for End-Users

LINE

Account

Web Service

LINE Login

Messaging API

Profile+

Other services

+

+

+

Page 23: S4 line business platform

1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify

Page 24: S4 line business platform

LINE SMS

Send text message with template to a LINE user by phone number

Receive callback event asynchronously when the LINE user reads the message

Page 25: S4 line business platform

[ { " locale":"en", “message”:”${name} spent ${amount} at ${place} on ${date}“ } ]

Template

Page 26: S4 line business platform

POST /v1/events HTTP/1.1 Host: api.line.me Content-type: application/json; charset=UTF-8 X-LINE-ChannelToken: <YOUR_CHANNEL_ACCESS_TOKEN>

{ "to":["+1-010-1234-5678"], "toChannel":1383378250, "eventType":"146347013304376203", "content":{ "contentType": “1", "templateNo": “<YOUR_TEMPLATE_NUMBER>", "details": [ { " locale": “en", "parameters": { "name": “Michael”, "place": “Hawaii", "date": “2016-08-31”, "amount": “3000" } } ] } }

Send Message

Page 27: S4 line business platform

{ "failed": [], "successMessages": [ { "phoneNumber": “+1-010-1234-5678", "sentMessageId": “703797779" } ], "timestamp": 1468567254093, "version": 1 }

Success Response

Page 28: S4 line business platform

Failed Response

// requested phone number is not valid nor registered { "statusCode": “422", "statusMessage": "Phone number is not a valid number or is not registered” }

// for all the other reasons { "failed": [ “+1-010-1234-5678" ], "successMessages": [], "timestamp": 1468567391390, "version": 1 }

Page 29: S4 line business platform

Read message operations

{ "result": [ { "content": { "params": ["704068251, 704068315", null, null], "message": null, "reqSeq": 0, "revision": 80, "opType": 10 }, "createdTime": 1468892200612, "eventType": “138311609100106403", "from": “uefb896062d34df287b220e7b581d24a6", "fromChannel": 1341301815, " id": “BE1502-19520065095", "to": [“ua4a9151a3222dd68670812c1b1def00b"], "toChannel": 1460256856 } ] }

Page 30: S4 line business platform

1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify

Page 31: S4 line business platform

LINE Notify• A LINE official account with

automatically adding users as friends feature

• APIs for third parties to send messages to LINE users

• Could be 1:1 or in group

Page 32: S4 line business platform
Page 33: S4 line business platform
Page 34: S4 line business platform

LINE Notify APIs

• GET https://notify-bot.line.me/oauth/authorize Note: parameter ‘state’ is required

• POST https://notify-bot.line.me/oauth/token Note: the access token never be expired automatically

Authentication

Notification

• POST https://notify-api.line.me/api/notify

• GET https://notify-api.line.me/api/status

• POST https://notify-api.line.me/api/revoke

Page 35: S4 line business platform

LINE Messaging Solutions

Sender Clients’ OA or LINE@ Clients’ OA LINE Notify OA

Receiver Friends of clients’ OA or LINE@ Users with phone number Users who agreed to receive

Send by User ID Phone number Access token

Content typeText, image, video, audio, sticker,

location, imagemap, templateText Text, image

Content format Free Template Free

Callback event No Yes No

Messaging API Push Message LINE SMS LINE Notify

Page 36: S4 line business platform