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
The Human Advantage: Outperform The Algorithm
linedevth
0
42
The Scale Saga: From Specs to 10x Engineering
linedevth
0
24
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
120
Beyond the Bottleneck: Infra for What's Next
linedevth
0
30
Harness & Loop Engineering: How We Let AI Agents Build Production Code Safely, Fast, and On Repeat
linedevth
0
55
Turning LINE Conversations into AI-Powered Workflows
linedevth
0
16
How to teach your AI Agent with Agent skills
linedevth
0
68
Reinventing Motor Insurance with AI Agent by AXA and ZWIZ.AI
linedevth
0
13
AI Infrastructure at Speed: Governance Without the Drag
linedevth
0
22
Other Decks in Technology
See All in Technology
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
300
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
330
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
220
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
640
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
170
会社説明資料
persolserverworks
0
9.8k
~最速でビジネスインパクトを創出する~ Sansanのデータ基盤と活用事例
sansantech
PRO
0
110
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
190
DBについての基礎説明(MySQL編) - コロプラ 2026年度 新卒研修
colopl
0
150
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
190
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
200
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
300
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
HDC tutorial
michielstock
2
960
First, design no harm
axbom
PRO
2
1.3k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
830
Are puppies a ranking factor?
jonoalderson
2
4.1k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
580
Product Roadmaps are Hard
iamctodd
55
13k
BBQ
matthewcrist
90
10k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
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