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

Catch up the latest update of LINE API 2019

Catch up the latest update of LINE API 2019

B29f42636a5f1249b640473d49aa4514?s=128

LINE Developers Thailand

December 12, 2019
Tweet

Transcript

  1. Catch Up the Latest Update in LINE API Warit Wanwithu

    Developer Relations, LINE THAILAND
  2. Developer LINE API Ecosystem LINE Login LINE Notify Messaging API

    Social API LINE Things LINE Beacon LIFF LINE Pay Clova ???
  3. Developer LINE Messaging API

  4. Developer New API for friend statistics • Get number of

    message deliveries • Get number of followers • Get friend demographics
  5. Developer Get number of messages sent this month https://api.line.me/v2/bot/message/quota/consumption

  6. Developer Get User Interaction statistics

  7. Flex Message 2019

  8. giga mega kilo micro nano 1. Bubble Size

  9. default paddingAll = 10% 2. Box Padding "body": { "type":

    "box", "layout": "vertical", "paddingAll": "10%", "contents": [ { "type": "text", "text": "The objective…" } ] }
  10. default backgroundColor = #RRGGBBAA 3. Color & Background Color {

    "type": "box", "backgroundColor": "#2a01ff", "paddingAll": "8%", "layout": "vertical", "contents": [ { "type": "text", "text": "Hello World!" } ] }
  11. default cornerRadius 4. Box Corner { "body": { "type": "box",

    "paddingAll": "none", "cornerRadius": "150px", "layout": "vertical", "contents": [ { "type": "image", "url": "https://...", "size": "full" } ]}}
  12. default position = absolute 5. Position & Offset { "type":

    "box", "position": "absolute", "offsetTop": "25%", "offsetBottom": "60%", "offsetStart": "50%", "offsetEnd": "20%", "layout": "vertical", "contents": [{ "type": "button", "action": { "type": "uri", "label": "Apply Now!", "uri": "https: //…" } }]}
  13. default span 6. Text Style { "type": "text", "text": "...",

    "style": "italic", "decoration": "underline", "wrap": true, "contents": [{ "type": "span", "text": "The objective…", "style": "italic" },{ "type": "span", "text": "to enhance…", "decoration": "underline" }] }
  14. Developer api.line.me -> api-data.line.me • Get content • Upload rich

    menu image • Download rich menu image Deadline: April 30, 2020 The domain name of (some) API endpoints
  15. Developer Messaging API calls in your browser

  16. New property "stickerResourceType" • STATIC • ANIMATION • SOUND •

    ANIMATION_SOUND • POPUP • POPUP_SOUND • NAME_TEXT
  17. Developer LINE SDK

  18. Developer LINE SDK

  19. Developer LINE SDK v4.x end-of-life on Dec 12th, 2019 ⚰

  20. LINE Login: new parameters https://access.line.me/oauth2/v2.1/authorize?response_type=xxx...&ui_locales=ja

  21. Verify ID token https://api.line.me/oauth2/v2.1/verify

  22. Developer LINE Front-end Framework

  23. Developer LIFF v.2 • External Browser Supported • QR Code

    Scanner (Android) • Get OS • Is in LIFF? • Is logged in? • Much more..
  24. Developer LINE Pay

  25. New API Document https://pay.line.me/documents/online_v3_en.html

  26. Developer LINE TV API Exclusively for Thailand

  27. • Spotlight Types • Spotlight Module • Category List •

    Category • Ranking • Search • Station Home List • Station Home • Live Schedule LINE TV API
  28. LINE TV x Chatbot

  29. • Browse All LINE API • Demo • What’s New

    • Upcoming Event • Much more.. UPDATED LINE DEV TH
  30. Developer LINE API Ecosystem LINE Login LINE Notify Messaging API

    Social API LINE Things LINE Beacon LIFF LINE Pay Clova LINE TV NEW
  31. None