Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new in LINE Platform & LINE API Ecosystem Overview

What's new in LINE Platform & LINE API Ecosystem Overview

LINE Thailand Developer Conference 2019
https://www.facebook.com/events/410021356453349/

LINE Developers

June 04, 2019
Tweet

More Decks by LINE Developers

Other Decks in Technology

Transcript

  1. Broadcast Message API HTTP Request POST https://api.line.me/v2/bot/message/broadcast Headers Content-Type application/json

    Authorization Bearer {channel access token} Body Messages Array of message objects notificationDisabled true|false(optional)
  2. Get usage APIs Get number of reply messages / day

    Get number of push messages / day Get number of multicast messages / day Get number of sent broadcast / day Get number of sent messages / month Get the target limit messages / month https://developers.line.biz/en/reference/messaging-api/#get-quota
  3. Destination Property { "destination": "xxxxxxxxxx", "events": [{ "replyToken": "0f3779fba...", "type":

    "message", "source": { "userId": "U4af4980629..." }, "message": { "type": "text", "text": "Hello World!” } }] } API
  4. New Webhook Events Message event Text, Image, Video, Audio, File,

    Location, Sticker Follow event Bot is added or unblocked Unfollow event Bot is blocked Join event Bot joins a group or room Leave event Bot leave a group or room Member join event User joins a group or room Member leave event User leaves a group or room Postback event User performs a postback action Beacon event User enters or leaves the range Account link event User has linked his/her LINE account with a provider's service account Device link event LINE Things device has been linked with LINE by a user operation Device unlink event LINE Things device has been unlinked from LINE by a user operation
  5. Member join/leave payload { "replyToken": "0f3779fba3...", "type": "memberJoined", "timestamp": 1462629479859,

    "source": { "type": "group", "groupId": "C4af4980629..." }, "joined": { "members": [ { "type": "user", "userId": "U91eeaf62d9..." } ] } } { "type": "memberLeft", "timestamp": 1462629479960, "source": { "type": "group", "groupId": "C4af4980629..." }, "left": { "members": [ { "type": "user", "userId": "U4af4980629..." } ] } }
  6. New useful functions • QR Code scanner • Supported in

    desktop • Define scopes • Acquire friends • Get OS • Is in LIFF? • Is logged in? • More…
  7. LINE Login and Social API v2.1 are supported • User’s

    email permission • Enabling the bot link feature with the SDK
 (Bot Prompt)
  8. LINE Certified Coach for API Qualification Responsibilities Benefits Educate SMEs

    on API knowledge and advise on business opportunity with LINE OA Contribute OA/API content Spokesperson OA Knowledge API Knowledge Invitations to exclusive events Get latest LINE update Acknowledgement by LINE Registration: Now - 31 May