S4 line business platform

336 views

Published on

2016/12/26 LINE Taiwan TechPulse

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
336
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
29
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

S4 line business platform

  1. 1. 1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify
  2. 2. 1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify
  3. 3. LINE PLATFORM LINE LOGIN Overview of the LINE Platform BUSINESS CONNECT TIMELINE MESSAGING APILINE PAY LINE STORE LINE GAMES LINE SERVICE LINE APPLICATION
  4. 4. 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
  5. 5. 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
  6. 6. 1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify
  7. 7. Official Web App Official Web App Seamless Experience for End-Users LINE Account Web Service LINE Login Messaging API Profile+ Other services + + +
  8. 8. Most of the web services have their membership system Problem
  9. 9. Integration with WEB / Android / iOS Login using users’ LINE account information Autologin from the LINE app So what can LINE Login do?
  10. 10. LINE Login structure Web login with authentication using the OAuth 2.0 protocol Native SDKs for user login using app-to-app authentication
  11. 11. OAUTH 2.0 Flow Web Browser Developer Server LINE Channel Gateway
  12. 12. LINE Login demo https://github.com/line/line-login-starter
  13. 13. Where do I register? To start developing with LINE Login, register for an account from the LINE Business Center https://business.line.me
  14. 14. Problem User profiles exist in all business web sites
  15. 15. 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
  16. 16. Official Web App Official Web App Seamless Experience for End-Users LINE Account Web Service LINE Login Messaging API Profile+ Other services + + +
  17. 17. 1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify
  18. 18. 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
  19. 19. [ { "locale":"en", “message”:”${name} spent ${amount} at ${place} on ${date}“ } ] Template
  20. 20. 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
  21. 21. { "failed": [], "successMessages": [ { "phoneNumber": “+1-010-1234-5678", "sentMessageId": “703797779" } ], "timestamp": 1468567254093, "version": 1 } Success Response
  22. 22. 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 }
  23. 23. 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 } ] }
  24. 24. 1 What is LINE Business Platform? 2 LINE Official Web App 3 LINE SMS 4 LINE Notify
  25. 25. 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
  26. 26. 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
  27. 27. 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 type Text, image, video, audio, sticker, location, imagemap, template Text Text, image Content format Free Template Free Callback event No Yes No Messaging API Push Message LINE SMS LINE Notify

×