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
LINE 平台與開發生態系介紹
Search
LINE Developers Taiwan
PRO
September 17, 2023
Technology
1
450
LINE 平台與開發生態系介紹
Speaker: Nijia Lin
Event: 台北商業大學 LINE Chatbot 競賽工作坊
LINE Developers Taiwan
PRO
September 17, 2023
Tweet
Share
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
Open Source Workshop on GitHub
line_developers_tw
PRO
0
21
拓展QA日常工作的邊界
line_developers_tw
PRO
0
560
QA Engineer Life @ LINE
line_developers_tw
PRO
0
26
透過 Cloud Functions, Firebasem Gemini Pro 打造具有記憶的 Open Data LINE Bot
line_developers_tw
PRO
0
20
就讓AI幫你帶LINE好運
line_developers_tw
PRO
1
34
沒想過的前端錯誤處理可能比你有做的還多
line_developers_tw
PRO
0
52k
LINE 台灣實習計畫 2024 - TECH FRESH 介紹
line_developers_tw
PRO
0
540
LINE 台灣實習計畫 - 相關福利與面試流程
line_developers_tw
PRO
0
560
Navigating My Internship: A 5W1H Perspective
line_developers_tw
PRO
0
27
Other Decks in Technology
See All in Technology
大規模言語モデル (LLM)における低精度数値表現
pfn
PRO
3
830
Password cracking: past, present, future
openwall
0
280
Money-saving tips for the frugal serverless developer
theburningmonk
1
360
RubyKaigi 2024 - Make Your Own Regex Engine!
makenowjust
1
160
パフォーマンス最適化のベストプラクティス
databricksjapan
0
200
多言語化対応における TypeScript の型定義を通して開発のしやすさについて考えた / TSKaigi TypeScript Multilingualization
nabeliwo
2
390
知識と実践を紡ぐGenAI / Connecting Knowledge and experience with GenAI
aki_moon
2
180
TDD - Test Driven Drupal
opdavies
0
3k
生成AIがもたらす変革 / GitHubGalaxy_CyberAgent
cyberagentdevelopers
PRO
2
110
Google Cloud Next '24 Recap in ZOZO AIにより変わる開発 運用/Development and operation changed by AI
gachimuchiengineer
0
200
[2024년 5월 세미나] 생성형 AI와 함께하는 데이터 분석가 커리어
datarian
0
1.2k
#phpconkagawa レガシーコードにもオブザーバビリティを 〜少しずつ始めるサービス監視〜
yamato_sorariku
0
560
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Building an army of robots
kneath
300
41k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Building Applications with DynamoDB
mza
88
5.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
RailsConf 2023
tenderlove
9
580
Build your cross-platform service in a week with App Engine
jlugia
226
17k
Code Review Best Practice
trishagee
56
15k
The Cost Of JavaScript in 2023
addyosmani
21
4k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
Transcript
None
LINE 平台 與開發⽣態系介紹
NiJia Lin 🥷 LINE Technology Evangelist ⭐ Developer Relations 👋
External Evangelism 📌 Internal Evangelism
None
198 DYNAMIC USER BASE 19 GLOBAL MAU million SUPPORTS languages
BY THE NUMBERS 178 *Supported languages: Arabic, Brazilian Portuguese, English, French, German, Indonesian, Italian, Japanese, Korean, Malay, Portuguese, Russian, Spanish (Castilian), Spanish (Latin America), Simplified Chinese, Thai, Traditional Chinese, Turkish, Vietnamese TOP-4 MAU million (Japan, Taiwan, Thailand, Indonesia) *As of March 2023 image: Freepik.com
None
發送各種訊息格式 Message Event Imagemap message Flex message Text message Template
message Location message Sticker message Image message Video/Audio Message Quote message
Text & Sticker message
Image, Video, Audio, Location messag
Template message
Imagemap message
回覆訊息 - Quote Message • 回覆特定訊息 • 得知⽤⼾回覆的訊息 • ⽬前僅⽀援
text 與 sticker
Flex Message
Flex Message Simulator https://developers.line.biz/flex-simulator/
什麼是 Provider? • 獨立開發者、公司或組織 • Channel 建立之後是不能更動 channel 的 Provider
• 請勿使⽤測試帳號到線上環境
LINE Bot 的兩種回應⽅式 Messaging API Reply event Push event LINE
Platform
如何跟 Messaging API 溝通
Flex Message Simulator https://developers.line.biz/flex-simulator/
取得⽤⼾資訊 • Display Name • User Id • Language •
Picture Url • Status Message https://developers.line.biz/en/reference/messaging-api/#get-profile
Icon Switch 修改⼤頭貼圖⽰與名字
什麼是 Quick Reply? • Camera action • Camera roll action
• Location action • Postback action • Message action • URI action • Datetime picker action
什麼是 Rich Menu? • 圖片格式: JPEG or PNG • 寬度
(pixels): 800 to 2500 • ⾼度 (pixels): 250 or more • 比率 (width/height): 1.45 or more • 檔案最⼤尺⼨: 1 MB
• 圖片格式: JPEG or PNG • 寬度 (pixels): 800 to
2500 • ⾼度 (pixels): 250 or more • 比率 (width/height): 1.45 or more • 檔案最⼤尺⼨: 1 MB 什麼是 Rich Menu?
Messaging API 讓您可以快速建立聊天機器⼈ ⽀援多種程式語⾔ • Java • Python • PHP
• Node.js • Go • Ruby • Perl
LINE Login 透過整合 LINE Login 能夠讓您的應⽤程式更快地連結 LINE ⽤⼾ https://developers.line.biz/zh-hant/docs/line-login/overview/
什麼是 LIFF
穿衣服要挑⼤⼩ - LIFF 尺碼
LIFF 在哪兒 – 預約系統
LIFF 在哪兒 – 會員卡
發給 OA 互動的⽤⼾ - Send Message • 各式 Message 格式
• 最多⼀次發送 5 則訊息 • 從 OA 點過去的 LIFF 才能使⽤ https://developers.line.biz/en/reference/liff/#send-messages
分享很重要 – Share Target Picker • 外部瀏覽器 ➡ liff.login() •
liff.isApiAvailable() • 透過個⼈帳號發送
OMO 最需要的! - liff.scanCodeV2() • Powered by WebRTC • LINE
v11.7.0+ • LIFF v2.15.0+ • External Browser/Android/iOS
• LIFF starter app - https://github.com/line/line-liff-v2-starter - NextJS - NuxtJS
- Vanilla • LIFF Playground - https://github.com/line/liff-playground - https://liff-playground.netlify.app/ - 外部/⼿機 瀏覽器皆可使⽤ 從哪開始呢? - Starter
None
None