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
Zona 台北大學 GDG 分享
line_developers_tw
PRO
0
3.9k
台大資料分析與決策社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
14
政大數據分析社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
25
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
480
NTUAI企業參訪
line_developers_tw
PRO
0
12k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
25k
Data Team 實習分享
line_developers_tw
PRO
0
21k
Backend Intern之旅
line_developers_tw
PRO
0
30k
清大企業參訪- Ben
line_developers_tw
PRO
0
4.7k
Other Decks in Programming
See All in Programming
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
570
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
200
ロボットのための工場に灯りは要らない
watany
12
3.2k
20260315 AWSなんもわからん🥲
chiilog
2
180
How to stabilize UI tests using XCTest
akkeylab
0
150
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
150
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
250
OTP を自動で入力する裏技
megabitsenmzq
0
130
へんな働き方
yusukebe
6
2.9k
Codex の「自走力」を高める
yorifuji
0
1.3k
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
91
A Tale of Four Properties
chriscoyier
163
24k
Embracing the Ebb and Flow
colly
88
5k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
140
Skip the Path - Find Your Career Trail
mkilby
1
93
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
420
A designer walks into a library…
pauljervisheath
210
24k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Designing Experiences People Love
moore
143
24k
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