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
650
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.5k
Version Control System - Git
eggegg
4
670
Introduction to Ruby
eggegg
3
600
Defly
eggegg
0
340
Other Decks in Programming
See All in Programming
What’s Fair is FAIR: A Decentralised Future for WordPress Distribution
rmccue
0
150
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
270
Core MIDI を勉強して作曲用の電子ピアノ作ってみた!
hypebeans
0
100
CloudflareのSandbox SDKを試してみた
syumai
0
130
SidekiqでAIに商品説明を生成させてみた
akinko_0915
0
130
CSC305 Lecture 15
javiergs
PRO
0
190
Nitro v3
kazupon
2
240
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
140
詳細の決定を遅らせつつ実装を早くする
shimabox
1
980
Dive into Triton Internals
appleparan
0
480
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
290
KoogではじめるAIエージェント開発
hiroaki404
1
420
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
The Cost Of JavaScript in 2023
addyosmani
55
9.2k
Music & Morning Musume
bryan
46
6.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Building an army of robots
kneath
306
46k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
It's Worth the Effort
3n
187
28k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
YesSQL, Process and Tooling at Scale
rocio
174
15k
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