Slide 1

Slide 1 text

FACEBOOK API Andrew Liu

Slide 2

Slide 2 text

“move fast and break things” Mark Zuckerberg

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

GRAPH API

Slide 6

Slide 6 text

Everything in Facebook has an ID JSON as Data Format GET https://graph.facebook.com/19292868552

Slide 7

Slide 7 text

ACCESS TOKEN SCOPE The KEY for accessing the API. What you CAN do with access token. user_photos, user_likes...

Slide 8

Slide 8 text

GRAPH API EXPLORER https://developers.facebook.com/tools/explorer

Slide 9

Slide 9 text

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=... ...

Slide 10

Slide 10 text

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=...

Slide 11

Slide 11 text

AUTHENTICATION

Slide 12

Slide 12 text

Server-side version

Slide 13

Slide 13 text

Javascript SDK version

Slide 14

Slide 14 text

SOCIAL PLUGIN

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

OPEN GRAPH

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content