Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deep Dive into LIFF v2
Search
LINE Developers Thailand
December 12, 2019
Technology
670
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
520
No REST No Stress! Connect LINE SHOPPING with MCP
linedevth
0
130
Build & Ship LINE MINI App with MINI AI Studio
linedevth
0
250
Scouter: Unleashing the True Power Level of Web Performance
linedevth
0
110
Spec > Spell: Write It Clearly, and Let AI Do the Magic
linedevth
0
120
ArgoCD: Deploy with confidence, conquer YAML mysteries
linedevth
0
140
LINE Group Bot by Zwiz.AI
linedevth
0
180
Next-Gen Retail: LINE MINI App with AI Location Intelligence
linedevth
0
200
TicketO: Reinventing the event experience with AI on MINI App
linedevth
0
310
Other Decks in Technology
See All in Technology
Amazon Bedrock AgentCore ワークショップ JAWS UG TOHOKU / amazon-bedrock-agentcore-workshop-jawsug-tohoku-2026
gawa
9
760
脆弱性対応、どこで線を引くか
rymiyamoto
1
380
Android の公式 Skill / Android skills
yanzm
0
140
Agentic Web
dynamis
1
210
FDE という解 ― 暗黙知と明示知をつなぐ、伴走型エンジニアリング ―
otanet
0
140
2026 TECHFRESH 畢業分享會 - AI-Native 重塑軟體工程與虛擬講師
line_developers_tw
PRO
0
900
RAG を使わないという選択肢
tatsutaka
1
210
ルールやカスタム機能、どう活かす?ハンズオンで体感するIBM Bobの出力コントロール
muehara
1
140
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.9k
失敗を経て、Harness Engineering で 大切にしたいことを考える / Learning from Failure: What Matters in Harness Engineering
bitkey
PRO
1
340
やさしいA2A入門
minorun365
PRO
12
1.8k
【Cyber-sec+】経営層を"動かす"ための考え方
hssh2_bin
0
150
Featured
See All Featured
HDC tutorial
michielstock
2
700
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
730
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
390
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Side Projects
sachag
455
43k
What's in a price? How to price your products and services
michaelherold
247
13k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
770
The Cult of Friendly URLs
andyhume
79
6.9k
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