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 Social API in GO
Search
LINE Developers Taiwan
PRO
July 23, 2019
Programming
2.5k
0
Share
LINE Social API in GO
Chatbots meetup #11 2019/07/23,
https://chatbots.kktix.cc/events/chatb11ts
LINE Developers Taiwan
PRO
July 23, 2019
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
200
2026.04.09_台灣客服協會_從資料重新理解客服_ Charlie Wang
line_developers_tw
PRO
0
39
Zona 台北大學 GDG 分享
line_developers_tw
PRO
0
55k
台大資料分析與決策社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
25
政大數據分析社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
52
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
600
NTUAI企業參訪
line_developers_tw
PRO
0
19k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
42k
Data Team 實習分享
line_developers_tw
PRO
0
34k
Other Decks in Programming
See All in Programming
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
310
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
180
Road to RubyKaigi: Play Hard(ware)
makicamel
1
540
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
140
AI-DLC Deep Dive
yuukiyo
9
5.6k
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
2
270
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
690
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
370
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.8k
cloudnative conference 2026 flyle
azihsoyn
0
100
第3木曜LT会 #28
tinykitten
PRO
0
120
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.3k
Code Reviewing Like a Champion
maltzj
528
40k
Side Projects
sachag
455
43k
Practical Orchestrator
shlominoach
191
11k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Exploring anti-patterns in Rails
aemeredith
3
350
ラッコキーワード サービス紹介資料
rakko
1
3.2M
Are puppies a ranking factor?
jonoalderson
1
3.4k
Why Our Code Smells
bkeepers
PRO
340
58k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
290
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
110
Transcript
LINE Social API in GO LINE Technical Evangelist Evan Lin
(YDQ/LQ /,1(7HFKQLFDO(YDQJHOLVW • 'HYHORSHU 5HODWLRQV • 7HFKQLFDO EUDQGLQJ • 7HFKQLFDO
+LULQJ • /,1( 'HYHORSHU 0HHWXS7HFK3XOVH 2UJDQL]HU
NEW API Update
https://developers.line.biz/en/news/#new-messaging-api-endpoints-for-friend-statistics-2019-07-08
The same result with CMS ”Insight”
LINE need your contributions (Python, Nodejs, Ruby …)
LINE Social API in Go
LINE Social API • API to handle “User Access Token”,
it help to retrieval user profile data. • “Issue access token” is process during you run LINE Login. • Another way is to use “liff.getAccessToken()”.
LINE Social API in Go https://github.com/kkdai/line-social-sdk-go
How to use LINE Social API in Go? • Github
REPO: https://github.com/kkdai/line- login-go • Heroku server: https://login-tester- evan.herokuapp.com/
LINE Login •LINE Login include two kinds of scope. •“Profile
OpenID” will return JWT data to decode into user profile. •“Profile” only return access token, need use “social API” to get user profile.
LINE Login: Open ID Diagram
Code block for LINE Login (Open ID) in Go
Code block for LINE Login (Open ID) in Go (2)
LINE Login: Profile Diagram
Code block for LINE Login (Profile) in Go
Comparison Open ID Access Token LINE Login Scope profile openid
profile Need extra API No Social get user profile Need decode data JWT decode No
Q&A