Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Deep Dive into LIFF v2
Search
LINE Developers Thailand
December 12, 2019
Technology
690
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deep Dive into LIFF v2
LINE Developers Thailand
December 12, 2019
More Decks by LINE Developers Thailand
See All by LINE Developers Thailand
Unlocking the Power of AI Agents with LINE Bot MCP Server
linedevth
0
600
No REST No Stress! Connect LINE SHOPPING with MCP
linedevth
0
160
Build & Ship LINE MINI App with MINI AI Studio
linedevth
0
300
Scouter: Unleashing the True Power Level of Web Performance
linedevth
0
130
Spec > Spell: Write It Clearly, and Let AI Do the Magic
linedevth
0
140
ArgoCD: Deploy with confidence, conquer YAML mysteries
linedevth
0
160
LINE Group Bot by Zwiz.AI
linedevth
0
210
Next-Gen Retail: LINE MINI App with AI Location Intelligence
linedevth
0
210
TicketO: Reinventing the event experience with AI on MINI App
linedevth
0
330
Other Decks in Technology
See All in Technology
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
7
3.6k
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
400
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
150
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
[Kiro Meetup #7] Kiro Crew Dive Deep
konippi
0
280
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
6
730
AI時代、データエンジニアが一番おもろい
genshun9
0
690
高負荷プロダクション環境におけるAWS Lambdaのリアル 〜スケールとコストを左右する実行ライフサイクルの技術仕様〜
maimyyym
2
220
あけおめLINE 傾向とその対策
nasa9084
0
310
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
11
5.1k
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
600
Making AI Agents Safe and Fast- Jev, Obsidian, and the Meta-Harness
x5gtrn
PRO
0
130
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
530
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
710
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
340
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
700
Marketing to machines
jonoalderson
1
5.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Everyday Curiosity
cassininazir
0
320
Transcript
Deep Dive into LIFF v2 Jirawat Karanwittayakarn Tech Evangelist, LINE
Thailand
2 LIFF LINE Front-End Framework
Multiple View Types Compact Full Tall
Get Profile • userId • displayName • pictureUrl • statusMessage
Send Messages • Text • Sticker • Image • Video
• Flex Message • Audio • Location • Template Messages
Does it support in external browser?
Paint point in LIFF v1
What!
Say hello to LIFF v2 The Next Generation of LINE
Front-End Framework
External Browser in LIFF v2
Modern Browser Supported
LINE Login v2.1 Integration
Email https://developers.line.biz/console/
Email liff.getDecodedIDToken().email
Bot Link Normal Aggressive
Enabling Bot Link LINE Login Tab LIFF Tab https://developers.line.biz/console/
Get Friendship liff.getFriendship().then(data => { if (data.friendFlag) { // Do
something } })
Universal Link line://app/LIFF-ID https://liff.line.me/LIFF-ID
Path and Query Parameter https://developers.line.biz liff://app/1234567890-XXXXXXXX https://liff.line.me/1234567890-XXXXXXXX/console/?param=value https://developers.line.biz/console/?param=value
QR Code Reader Platform Version iOS On version 9.19.0 and
later, liff.scanCode() is temporarily unavailable. Android Not affected for now * liff.scanCode() in Android supports any kind of text result by Today!
Share Target Picker • Share message to friends or groups
• Image, Video and Flex Message are available • This API will coming soon
♥ LIFF v2
How to develop LIFF v2
Steps to develop LIFF v2 1. Create Provider and Login
Channel 2. Create a LIFF app 3. Develop a Website 4. Deploy 5. Update Endpoint URL and Publish
Create a Login Channel https://developers.line.biz/console/
Steps to develop LIFF v2 1. Create Provider and Login
Channel 2. Create a LIFF app 3. Develop a Website 4. Deploy 5. Update Endpoint URL and Publish
Create a LIFF app https://developers.line.biz/console/
Steps to develop LIFF v2 1. Create Provider and Login
Channel 2. Create a LIFF app 3. Develop a Website 4. Deploy 5. Update Endpoint URL and Publish
Initialize LIFF with Login <script src="https://static.line-scdn.net/liff/edge/2.1/sdk.js"></script> <script> liff.init({ liffId: YOUR-LIFF-ID
}).then(() => { if (liff.isLoggedIn()) { liff.getProfile() } else { liff.login() } }) </script> 1 2
LIFF v2 Starter https://github.com/line/line-liff-v2-starter
Steps to develop LIFF v2 1. Create Provider and Login
Channel 2. Create a LIFF app 3. Develop a Website 4. Deploy 5. Update Endpoint URL and Publish (HTTPS is required)
Steps to develop LIFF v2 1. Create Provider and Login
Channel 2. Create a LIFF app 3. Develop a Website 4. Deploy 5. Update Endpoint URL and Publish
Publishing https:/developers.line.biz/console/
How to debug it?
vConsole A lightweight front-end developer tool for mobile web page.
https://github.com/Tencent/vConsole
LIFF v2 Cheat Sheet liff.init() SETUP & INIT COMMON APIs
liff.getOS() liff.getLanguage() liff.getVersion() liff.isInClient() AUTH APIs liff.isLoggedIn() liff.login() liff.logout() liff.getAccessToken() liff.getDecodedIDToken() liff.getContext() HTTP APIs liff.getProfile() liff.sendMessages() liff.getFriendship() CLIENT APIs liff.openWindow() liff.closeWindow() liff.scanCode() PERMANENT LINK liff.permanentLink.createUrl() liff.permanentLink.setExtraQueryParam()
One more thing...
LINE MINIAPP Publishing platform for apps developed by LIFF
Better Discoverable • Listing in Services tab • Searchable in
LINE Search Shareable to friends or groups • Deeplink sharing • Flex Message sharing Feature Highlight
Pilot Launch with LINE ScaleUp
Thank You! @Jirawatee Tech Evangelist, LINE Thailand