s4 line business platform

Post on 20-Mar-2017

4.021 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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

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

LINE PLATFORM

LINE LOGIN

Overview of the LINE Platform

BUSINESS CONNECT

TIMELINE

MESSAGING APILINE PAY

LINE STORE LINE GAMES

LINE SERVICE

LINE APPLICATION

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

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

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

Official Web AppOfficial Web App Seamless Experience for End-Users

LINE

Account

Web Service

LINE Login

Messaging API

Profile+

Other services

+

+

+

Most of the web services have their membership system

Problem

Integration with WEB / Android /

iOS

Login using users’ LINE account information

Autologin from the LINE app

So what can LINE Login do?

LINE Login structure

Web login with authentication using the OAuth 2.0 protocol

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

OAUTH 2.0 FlowWeb Browser Developer Server LINE Channel Gateway

LINE Login demo

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

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

https://business.line.me

ProblemUser profiles exist in all business web sites

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

Official Web AppOfficial Web App Seamless Experience for End-Users

LINE

Account

Web Service

LINE Login

Messaging API

Profile+

Other services

+

+

+

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

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

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

Template

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

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

Success Response

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 }

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 } ] }

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

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

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

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

top related