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
Facebook Graph API
Search
Andrew Liu
May 02, 2012
Programming
7
620
Facebook Graph API
2012 CCSP
Andrew Liu
May 02, 2012
Tweet
Share
More Decks by Andrew Liu
See All by Andrew Liu
HTTP
eggegg
17
1.4k
Version Control System - Git
eggegg
4
640
Introduction to Ruby
eggegg
3
550
Defly
eggegg
0
310
Other Decks in Programming
See All in Programming
GenU導入でCDKに初挑戦し、悪戦苦闘した話
hideg
0
170
Regular Expressions, REXML, Automata Learning
makenowjust
0
220
Jakarta EE meets AI
ivargrimstad
0
390
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
910
GraphQL あるいは React における自律的なデータ取得について
quramy
11
3k
仮想ファイルシステムを導入して開発環境のストレージ課題を解消する
segadevtech
2
550
私のEbitengineの第一歩
qt_luigi
0
450
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
Our Websites Need a Lifestyle Change, Not a Diet
ryantownsend
0
150
今インフラ技術をイチから学び直すなら
yuhta28
1
140
Pythonで改めて考える「クラス(class)」の使いどころ
os1ma
4
880
KSPの導入・移行を前向きに検討しよう!
shxun6934
PRO
0
280
Featured
See All Featured
Robots, Beer and Maslow
schacon
PRO
157
8.2k
How to Think Like a Performance Engineer
csswizardry
16
960
Ruby is Unlike a Banana
tanoku
96
11k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
663
120k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
The Cost Of JavaScript in 2023
addyosmani
42
5.7k
Scaling GitHub
holman
458
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
Writing Fast Ruby
sferik
623
60k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
The Illustrated Children's Guide to Kubernetes
chrisshort
47
48k
Transcript
FACEBOOK API Andrew Liu
“move fast and break things” Mark Zuckerberg
None
None
GRAPH API
Everything in Facebook has an ID JSON as Data Format
GET https://graph.facebook.com/19292868552
ACCESS TOKEN SCOPE The KEY for accessing the API. What
you CAN do with access token. user_photos, user_likes...
GRAPH API EXPLORER https://developers.facebook.com/tools/explorer
What about “me”? GET https://graph.facebook.com/me?access_token=... or GET https://graph.facebook.com/me/friends?access_token=... GET https://graph.facebook.com/me/likes?access_token=...
...
Not only GET, but POST and DELETE POST https://graph.facebook.com/19292868552/comments? message=Hello+World&access_token=...
or DELETE https://graph.facebook.com/19292868552/likes? access_token=...
AUTHENTICATION
Server-side version
Javascript SDK version
SOCIAL PLUGIN
None
OPEN GRAPH
None
None
None