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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
480
2026.04.09_台灣客服協會_從資料重新理解客服_ Charlie Wang
line_developers_tw
PRO
0
47
Zona 台北大學 GDG 分享
line_developers_tw
PRO
0
71k
台大資料分析與決策社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
35
政大數據分析社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
62
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
630
NTUAI企業參訪
line_developers_tw
PRO
0
23k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
51k
Data Team 實習分享
line_developers_tw
PRO
0
41k
Other Decks in Programming
See All in Programming
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
120
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.2k
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.2k
色即是空、空即是色、データサイエンス
kamoneggi
1
200
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
420
~ 秘伝のタレ化した『神スプシ』と戦う ~ 関数型パラダイムで壊れない仕組みへ
h0r15h0
1
140
Oxlintのカスタムルールの現況
syumai
5
840
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.3k
New "Type" system on PicoRuby
pocke
1
300
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
660
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.1k
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
150
Featured
See All Featured
Designing for Performance
lara
611
70k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
The Limits of Empathy - UXLibs8
cassininazir
1
340
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Automating Front-end Workflow
addyosmani
1370
210k
Un-Boring Meetings
codingconduct
0
300
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Rails Girls Zürich Keynote
gr2m
96
14k
30 Presentation Tips
portentint
PRO
1
300
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
310
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The SEO identity crisis: Don't let AI make you average
varn
0
470
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