Facebook Graph API

Facebook Graph API

2012 CCSP

B445ebf67c71d53b0b3bbe6d9bddd1c3?s=128

Andrew Liu

May 02, 2012
Tweet

Transcript

  1. FACEBOOK API Andrew Liu

  2. “move fast and break things” Mark Zuckerberg

  3. None
  4. None
  5. GRAPH API

  6. Everything in Facebook has an ID JSON as Data Format

    GET https://graph.facebook.com/19292868552
  7. ACCESS TOKEN SCOPE The KEY for accessing the API. What

    you CAN do with access token. user_photos, user_likes...
  8. GRAPH API EXPLORER https://developers.facebook.com/tools/explorer

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

    ...
  10. 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=...
  11. AUTHENTICATION

  12. Server-side version

  13. Javascript SDK version

  14. SOCIAL PLUGIN

  15. None
  16. OPEN GRAPH

  17. None
  18. None
  19. None