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
0
2.5k
LINE Social API in GO
Chatbots meetup #11 2019/07/23,
https://chatbots.kktix.cc/events/chatb11ts
LINE Developers Taiwan
PRO
July 23, 2019
Tweet
Share
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
420
NTUAI企業參訪
line_developers_tw
PRO
0
8.6k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
18k
Data Team 實習分享
line_developers_tw
PRO
0
15k
Backend Intern之旅
line_developers_tw
PRO
0
22k
清大企業參訪- Ben
line_developers_tw
PRO
0
3.7k
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
2.5k
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
2.5k
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
2.5k
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
490
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
170
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
170
オブザーバビリティ駆動開発って実際どうなの?
yohfee
3
810
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
4
410
AI活用のコスパを最大化する方法
ochtum
0
130
手戻りゼロ? Spec Driven Developmentとは@KAG AI week
tmhirai
1
190
How to stabilize UI tests using XCTest
akkeylab
0
110
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
400
文字コードの話
qnighy
44
17k
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
810
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
210
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
140
Building the Perfect Custom Keyboard
takai
2
710
Context Engineering - Making Every Token Count
addyosmani
9
740
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
WENDY [Excerpt]
tessaabrams
9
36k
The Spectacular Lies of Maps
axbom
PRO
1
610
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
The Limits of Empathy - UXLibs8
cassininazir
1
250
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
320
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