SlideShare une entreprise Scribd logo
1  sur  42
Graph API
Facebook Developer Garage Taipei


          CardinalBlue


 john, godfat @
Graph API

•What is it?
• What to do?
• What’s new?
Graph API: What is it?


• Launched at F8 (April 2010)
• Simple REST API
• Completely new!
Your apps
will fail...
soon.


    APP
http://graph.facebook.com
http://graph.facebook.com/cocacola/picture
http://graph.facebook.com/hellokitty/picture
http://graph.facebook.com/4/picture
http://graph.facebook.com/search?q=taiwan
http://graph.facebook.com/hellokitty
{
   "id": "40444963499",
   "name": "Hello Kitty",
   "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/
hs625.ash1/27537_40444963499_5441_s.jpg",
   "link": "http://www.facebook.com/hellokitty",
   "category": "Public_figures_other",
   "username": "hellokitty",
   "affiliation": "Sanrio Inc. USA",
   "birthday": "11/01/-001",
   "personal_info": "Hello Kitty's Official Fan Page!nHello Kitty lives in the
suburbs of London with her parents and her twin sister Mimmy. She has lots of
friends at school with whom she shares many adventures.nHer trademark is
her red bow that she always wears over her left ear.nHello Kitty is as heavy as
three apples and as tall as five apples.",
   "personal_interests": "Traveling, listening to music, reading, eating yummy
cookies, and making new friends. As Hello Kitty always says, u201cYou can
never have too many friends!"nShe collects small, cute objects like ribbons,
hair accessories, candy, stars, and goldfish.",
   "fan_count": 267913,
   "type": "page"
}
Connections
http://graph.facebook.com/hellokitty?metadata=1

   "metadata": {
     "connections": {
       "feed": "http://graph.facebook.com/hellokitty/feed",
       "posts": "http://graph.facebook.com/hellokitty/posts",
       "tagged": "http://graph.facebook.com/hellokitty/tagged",
       "statuses": "http://graph.facebook.com/hellokitty/statuses",
       "links": "http://graph.facebook.com/hellokitty/links",
       "notes": "http://graph.facebook.com/hellokitty/notes",
       "photos": "http://graph.facebook.com/hellokitty/photos",
       "albums": "http://graph.facebook.com/hellokitty/albums",
       "events": "http://graph.facebook.com/hellokitty/events",
       "videos": "http://graph.facebook.com/hellokitty/videos"
     }
   }
object

         connection
                      objects
http://graph.facebook.com/hellokitty/posts
{
   "data": [
      {
         "id": "40444963499_420034668499",
         "from": {
             "name": "Hello Kitty",
             "category": "Public_figures_other",
             "id": "40444963499"
         },
         "message": "Check out the cute Hello Kitty Nerds tote featured in Us Weekly! Find this and more Hello Kitty
u201cNerdsu201d stuff at Sanrio.com and select Sanrio Boutiques.nnhttp://bit.ly/brVYHTn",
         "picture": "http://photos-h.ak.fbcdn.net/hphotos-ak-ash2/
hs003.ash2/33501_420032663499_40444963499_4947695_6515646_s.jpg",
         "link": "http://www.facebook.com/photo.php?pid=4947695&fbid=420032663499&id=40444963499",
         "name": "Nerd Alert!",
         "caption": "5 new photos",
         "icon": "http://static.ak.fbcdn.net/rsrc.php/z2E5Y/hash/8as8iqdm.gif",
         "type": "photo",
         "created_time": "2010-08-20T01:04:30+0000",
         "updated_time": "2010-08-20T01:04:30+0000",
         "likes": 892,
         "comments": {
             "count": 76
         }
      },
      {
         "id": "40444963499_419689583499",
         "from": {
             "name": "Hello Kitty",
             "category": "Public_figures_other",
             "id": "40444963499"
         },
         "message": "Weu2019ve been playing with the Hello Kitty 35 mm Fisheye camera by Lomography and wanted to share
some of the fun pictures weu2019ve taken! Has anyone else taken any awesome pictures with their Hello Kitty Fisheye
cameras? Post them to our wall, we wanna see them! nnThe Hello Kitty Fisheye Camera is now available at Sanrio.com, select
Sanrio Boutiques, Urban Outfitters, Lomography.com and Lomography gallery stores. nnhttp://bit.ly/91unb4n",
         "picture": "http://photos-f.ak.fbcdn.net/hphotos-ak-snc4/
hs389.snc4/45262_419686073499_40444963499_4941020_5615227_s.jpg",
         "link": "http://www.facebook.com/photo.php?pid=4941020&fbid=419686073499&id=40444963499",
         "name": "Fisheye Camera Photos",
         "icon": "http://static.ak.fbcdn.net/rsrc.php/z2E5Y/hash/8as8iqdm.gif",
         "type": "photo",
Most data
  requires
explicit user
 permission
Access Token

•Obtained when a user gives
 permissions to a Facebook
 application
•Used for making Graph API calls
 For testing, try: http://oauth.twoalex.com
Access Token Usage
https://graph.facebook.com/me?access_token=...
https://graph.facebook.com/me/feed?access_token=...
https://graph.facebook.com/me/likes?access_token=...
https://graph.facebook.com/me/friends?access_token=
https://graph.facebook.com/4/feed?access_token=...


              Explore Graph API:
       http://aiphone1.heroku.com
How to get an access token

• Redirect to OAuth
 • https://graph.facebook.com/oauth/authorize ...
 • https://graph.facebook.com/oauth/access_token ...
• Javascript SDK
 • User clicks on login button
 • SDK stores the access token into a cookie
Extended Permissions
When authenticating, can ask the user for
extended permissions:

• user_photos, friend_photos
• user_likes, friend_likes
• read_stream, publish_stream
• email
• offline_access
• and many more....
Graph API

•What is it?
• What to do?
• What’s new?
Types of Facebook Apps

• Canvas FBML
• Canvas iframe
• Website
• Mobile website
• Mobile (native)
• Desktop
Canvas apps


•   Canvas FBML
•   Canvas iframe
Canvas apps


•   Canvas FBML
•   Canvas iframe
Major Changes for Canvas Apps
By end of this year (2010):
1. Canvas FBML will be deprecated...
  you must use Canvas iframe!
2. The Facebook “session_key” will disappear...
  you must use access_token for API calls!
3. The “fb_sig” parameters will disappear...
  you must query and cache user data!
1. Must use canvas iframe

• Many FBML tags not supported in iframe
• Use Javascript SDK to get XFBML (which is a
  subset of FBML tags for iframe apps)
  <fb:name uid=’4’></fb:name>


• After end of 2010, FBML apps cannot be created.
2. Must use access token
  • You need to upgrade your SDK library
  • All calls to Facebook must be made with an
     access token:

      ‣ FQL Query
https://api.facebook.com/method/fql.query?query=...&access_token=...


      ‣ Old REST API calls
https://api.facebook.com/method/stream.publish?access_token=...

https://api.facebook.com/method/pages.isFan?page_id=...&access_token=...
Facebook’s PHP SDK
  http://github.com/facebook/php-sdk/

 $me = $facebook->api('/me');
 $mark = $facebook->api('/4');

 $loginUrl = $facebook->getLoginUrl();

 <a href="<?php echo $loginUrl; ?>">
   Click to Login
 </a>
Our Ruby SDK
http://github.com/cardinalblue/rest-graph
3. Must query and cache user data
• Instead of many “fb_sig” parameters, Facebook will
  only pass a signed_request (containing access
  token and user id)
• Many parameters will disappear, so you will need
  to query and cache them yourself...
• fb_sig_friends =>
  https://graph.facebook.com/me/friends?...
• fb_sig_locale =>
  https://api.facebook.com/methods/users.getInfo?...
Types of Facebook Apps
              Authentication         Markup        Access Token


Canvas
                                     FBML
 FBML                                                        signed
                                                            request
Canvas
iframe    Redirect to
            OAuth
                                              from cookie
                        Javascript
                                               (placed by
Website                    SDK       XFBML     Javascript
                                                  SDK)

Mobile
website
Summary: What to do?

• Switch to new SDK
• Use new login and get permissions
• Convert all FQL queries and Old REST
  API calls into Graph API calls

• Remove any references to fb_sig
• For performance, set up caching
Graph API

•What is it?
• What to do?
• What’s new?
What’s new?


• Open Graph Protocol
• Facebook Places API
anything can be an
               object
http://graph.facebook.com/http://www.facebook.com




           even an URL!
not much
information though
{
    "id": "http://www.facebook.com",
    "shares": 666837
}
but this one...
http://graph.facebook.com/http://www.imdb.com/title/tt0117500/


     {
       "id": "114324145263104",
       "name": "The Rock (1996)",
       "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/
     hs344.snc4/41581_114324145263104_7037_s.jpg",
       "link": "http://www.imdb.com/title/tt0117500/",
       "category": "Movie",
       "description": "Directed by Michael Bay. With Sean Connery, Nicolas Cage, Ed
     Harris. A group of U.S. marines, under command of a renegade general, take over
     Alcatraz and threat San Francisco Bay with biological weapons. A chemical weapons
     specialist and the only man to have ever escaped from the Rock are the only ones
     who can prevent chaos. Visit IMDb for Photos, Showtimes, Cast, Crew, Reviews, Plot
     Summary, Comments, Discussions, Taglines, Trailers, Posters, Fan Sites",
       "fan_count": 931
     }
...has connections
http://graph.facebook.com/http://www.imdb.com/title/tt0117500?metadata=1


   {
       "id": "118133258218514",
       [...],
       "metadata": {
          "connections": {
             "feed": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/feed",
             "posts": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/posts",
             "tagged": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/tagged",
             "statuses": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/statuses",
             "links": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/links",
             "notes": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/notes",
             "photos": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/photos",
             "albums": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/albums",
             "events": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/events",
             "videos": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/videos"
          }
       },
       "type": "page"
   }
adding <meta> tag
 to any web page
   turns it into a
  facebook object
Open Graph Protocol
Facebook Places
Graph API for checkins
Extended permissions:
 user_checkins, friend_checkins


https://graph.facebook.com/[user id]/checkins
https://graph.facebook.com/[place page id]/checkins
https://graph.facebook.com/search?type=checkins
See where your friends have checked in:
http://fbfetcher.heroku.com/
        welcome/places
Graph API
• What is it?
  Simple new REST API with OAuth2.0
• What to do?
  Rewrite your apps using new SDKs
• What’s new?
  Open Graph, Facebook Places.
Graph API - Facebook Developer Garage Taipei

Contenu connexe

Tendances

Facebook Apps Development 101 (Java)
Facebook Apps Development 101 (Java)Facebook Apps Development 101 (Java)
Facebook Apps Development 101 (Java)Damon Widjaja
 
Intro to developing for @twitterapi (updated)
Intro to developing for @twitterapi (updated)Intro to developing for @twitterapi (updated)
Intro to developing for @twitterapi (updated)Raffi Krikorian
 
Intro to developing for @twitterapi
Intro to developing for @twitterapiIntro to developing for @twitterapi
Intro to developing for @twitterapiRaffi Krikorian
 
Rest experience-report
Rest experience-reportRest experience-report
Rest experience-reportJim Barritt
 
Cbcode volume2
Cbcode volume2Cbcode volume2
Cbcode volume2Madfex
 
Building jQuery Mobile Web Apps
Building jQuery Mobile Web AppsBuilding jQuery Mobile Web Apps
Building jQuery Mobile Web AppsOperation Mobile
 
Workshop : Facebook JavaScript SDK
Workshop : Facebook JavaScript SDKWorkshop : Facebook JavaScript SDK
Workshop : Facebook JavaScript SDKDimitar Danailov
 
Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)Colin Su
 
You're still using passwords on your site?
You're still using passwords on your site?You're still using passwords on your site?
You're still using passwords on your site?Francois Marier
 
社文字D: 轟趴開交物語
社文字D: 轟趴開交物語社文字D: 轟趴開交物語
社文字D: 轟趴開交物語Audrey Tang
 
Responsive Email Design and Development
Responsive Email Design and DevelopmentResponsive Email Design and Development
Responsive Email Design and Developmentladyheatherly
 
USC Yahoo! BOSS, YAP and YQL Overview
USC Yahoo! BOSS, YAP and YQL OverviewUSC Yahoo! BOSS, YAP and YQL Overview
USC Yahoo! BOSS, YAP and YQL OverviewJonathan LeBlanc
 
Microdata semantic-extend
Microdata semantic-extendMicrodata semantic-extend
Microdata semantic-extendSeek Tan
 
The Mobile Internet is Bigger Than You Think
The Mobile Internet is Bigger Than You ThinkThe Mobile Internet is Bigger Than You Think
The Mobile Internet is Bigger Than You ThinkJason Grigsby
 

Tendances (18)

Facebook Apps Development 101 (Java)
Facebook Apps Development 101 (Java)Facebook Apps Development 101 (Java)
Facebook Apps Development 101 (Java)
 
Intro to developing for @twitterapi (updated)
Intro to developing for @twitterapi (updated)Intro to developing for @twitterapi (updated)
Intro to developing for @twitterapi (updated)
 
Intro to developing for @twitterapi
Intro to developing for @twitterapiIntro to developing for @twitterapi
Intro to developing for @twitterapi
 
What's happening here?
What's happening here?What's happening here?
What's happening here?
 
Introduction to HTML5 & CSS3
Introduction to HTML5 & CSS3Introduction to HTML5 & CSS3
Introduction to HTML5 & CSS3
 
Rest experience-report
Rest experience-reportRest experience-report
Rest experience-report
 
Cbcode volume2
Cbcode volume2Cbcode volume2
Cbcode volume2
 
Building jQuery Mobile Web Apps
Building jQuery Mobile Web AppsBuilding jQuery Mobile Web Apps
Building jQuery Mobile Web Apps
 
Workshop : Facebook JavaScript SDK
Workshop : Facebook JavaScript SDKWorkshop : Facebook JavaScript SDK
Workshop : Facebook JavaScript SDK
 
Rb link database
Rb link databaseRb link database
Rb link database
 
YQL talk at OHD Jakarta
YQL talk at OHD JakartaYQL talk at OHD Jakarta
YQL talk at OHD Jakarta
 
Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)Introduction to Facebook Javascript SDK (NEW)
Introduction to Facebook Javascript SDK (NEW)
 
You're still using passwords on your site?
You're still using passwords on your site?You're still using passwords on your site?
You're still using passwords on your site?
 
社文字D: 轟趴開交物語
社文字D: 轟趴開交物語社文字D: 轟趴開交物語
社文字D: 轟趴開交物語
 
Responsive Email Design and Development
Responsive Email Design and DevelopmentResponsive Email Design and Development
Responsive Email Design and Development
 
USC Yahoo! BOSS, YAP and YQL Overview
USC Yahoo! BOSS, YAP and YQL OverviewUSC Yahoo! BOSS, YAP and YQL Overview
USC Yahoo! BOSS, YAP and YQL Overview
 
Microdata semantic-extend
Microdata semantic-extendMicrodata semantic-extend
Microdata semantic-extend
 
The Mobile Internet is Bigger Than You Think
The Mobile Internet is Bigger Than You ThinkThe Mobile Internet is Bigger Than You Think
The Mobile Internet is Bigger Than You Think
 

En vedette

Facebook API for Developers : Introducing the Facebook Platform
Facebook API for Developers : Introducing the Facebook PlatformFacebook API for Developers : Introducing the Facebook Platform
Facebook API for Developers : Introducing the Facebook PlatformWildan Maulana
 
Facebook 31 Party
Facebook 31 PartyFacebook 31 Party
Facebook 31 PartyJim Szewc
 
Facebook 3rd Party Api
Facebook 3rd Party ApiFacebook 3rd Party Api
Facebook 3rd Party ApiYoss Cohen
 
Managing your Business APIs is using WSO2 API Manager
Managing your Business APIs is using WSO2 API Manager Managing your Business APIs is using WSO2 API Manager
Managing your Business APIs is using WSO2 API Manager WSO2
 
Business Manager do Facebook 2014
 Business Manager do Facebook 2014 Business Manager do Facebook 2014
Business Manager do Facebook 2014Júnior Beltrão
 
Gerenciador de Negócios do Facebook
Gerenciador de Negócios do FacebookGerenciador de Negócios do Facebook
Gerenciador de Negócios do FacebookKauê Krischnegg
 
"Introduction Open Graph and Facebook Platform" - Facebook Developer Garage ...
"Introduction Open Graph and Facebook Platform" -  Facebook Developer Garage ..."Introduction Open Graph and Facebook Platform" -  Facebook Developer Garage ...
"Introduction Open Graph and Facebook Platform" - Facebook Developer Garage ...Vijay Rayapati
 
Facebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic WalletFacebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic WalletJonathan Laba
 
What is the Facebook Open Graph
What is the Facebook Open GraphWhat is the Facebook Open Graph
What is the Facebook Open GraphJay Feitlinger
 
The New Facebook: A Brand's Perspective
The New Facebook:  A Brand's Perspective The New Facebook:  A Brand's Perspective
The New Facebook: A Brand's Perspective Carve
 
Facebook Open Graph 6.10.10
Facebook Open Graph 6.10.10Facebook Open Graph 6.10.10
Facebook Open Graph 6.10.10MITX
 
Facebook Open Graph, Social Plug ins and Privacy -- what they mean to you
Facebook Open Graph, Social Plug ins and Privacy -- what they mean to youFacebook Open Graph, Social Plug ins and Privacy -- what they mean to you
Facebook Open Graph, Social Plug ins and Privacy -- what they mean to youDoug McIsaac
 
Open Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbed
Open Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbedOpen Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbed
Open Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbedVeronica Lin
 
Facebook Open Graph Api
Facebook Open Graph ApiFacebook Open Graph Api
Facebook Open Graph ApiSimon Li
 
LiveWorld POV for FaceBook's Timeline API
LiveWorld POV for FaceBook's Timeline APILiveWorld POV for FaceBook's Timeline API
LiveWorld POV for FaceBook's Timeline APILiveWorld
 
Gamify with SVG / Canvas over Facebook Open Graph
Gamify with SVG / Canvas over Facebook Open GraphGamify with SVG / Canvas over Facebook Open Graph
Gamify with SVG / Canvas over Facebook Open GraphPietro Polsinelli
 
Facebook open graph Presentation
Facebook open graph PresentationFacebook open graph Presentation
Facebook open graph PresentationIncheol Baek
 

En vedette (20)

Facebook API for Developers : Introducing the Facebook Platform
Facebook API for Developers : Introducing the Facebook PlatformFacebook API for Developers : Introducing the Facebook Platform
Facebook API for Developers : Introducing the Facebook Platform
 
Facebook 31 Party
Facebook 31 PartyFacebook 31 Party
Facebook 31 Party
 
Facebook 3rd Party Api
Facebook 3rd Party ApiFacebook 3rd Party Api
Facebook 3rd Party Api
 
Managing your Business APIs is using WSO2 API Manager
Managing your Business APIs is using WSO2 API Manager Managing your Business APIs is using WSO2 API Manager
Managing your Business APIs is using WSO2 API Manager
 
Business Manager do Facebook 2014
 Business Manager do Facebook 2014 Business Manager do Facebook 2014
Business Manager do Facebook 2014
 
Gerenciador de Negócios do Facebook
Gerenciador de Negócios do FacebookGerenciador de Negócios do Facebook
Gerenciador de Negócios do Facebook
 
Facebook permission
Facebook permissionFacebook permission
Facebook permission
 
"Introduction Open Graph and Facebook Platform" - Facebook Developer Garage ...
"Introduction Open Graph and Facebook Platform" -  Facebook Developer Garage ..."Introduction Open Graph and Facebook Platform" -  Facebook Developer Garage ...
"Introduction Open Graph and Facebook Platform" - Facebook Developer Garage ...
 
Facebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic WalletFacebook Open Graph - The Semantic Wallet
Facebook Open Graph - The Semantic Wallet
 
What is the Facebook Open Graph
What is the Facebook Open GraphWhat is the Facebook Open Graph
What is the Facebook Open Graph
 
The New Facebook: A Brand's Perspective
The New Facebook:  A Brand's Perspective The New Facebook:  A Brand's Perspective
The New Facebook: A Brand's Perspective
 
Facebook Open Graph 6.10.10
Facebook Open Graph 6.10.10Facebook Open Graph 6.10.10
Facebook Open Graph 6.10.10
 
Facebook Open Graph, Social Plug ins and Privacy -- what they mean to you
Facebook Open Graph, Social Plug ins and Privacy -- what they mean to youFacebook Open Graph, Social Plug ins and Privacy -- what they mean to you
Facebook Open Graph, Social Plug ins and Privacy -- what they mean to you
 
Facebook Open Graph
Facebook Open GraphFacebook Open Graph
Facebook Open Graph
 
Open Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbed
Open Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbedOpen Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbed
Open Graph & oEmbed | facebook的開放社交關係圖與其他網站的oEmbed
 
Facebook Open Graph Api
Facebook Open Graph ApiFacebook Open Graph Api
Facebook Open Graph Api
 
LiveWorld POV for FaceBook's Timeline API
LiveWorld POV for FaceBook's Timeline APILiveWorld POV for FaceBook's Timeline API
LiveWorld POV for FaceBook's Timeline API
 
Facebook Open Graph Protocol
Facebook Open Graph ProtocolFacebook Open Graph Protocol
Facebook Open Graph Protocol
 
Gamify with SVG / Canvas over Facebook Open Graph
Gamify with SVG / Canvas over Facebook Open GraphGamify with SVG / Canvas over Facebook Open Graph
Gamify with SVG / Canvas over Facebook Open Graph
 
Facebook open graph Presentation
Facebook open graph PresentationFacebook open graph Presentation
Facebook open graph Presentation
 

Similaire à Graph API - Facebook Developer Garage Taipei

Facebook Platform for Developers
Facebook Platform for DevelopersFacebook Platform for Developers
Facebook Platform for DevelopersLidan Hifi
 
Developing for Mobile
Developing for MobileDeveloping for Mobile
Developing for MobileRemy Sharp
 
Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)Nicholas Zakas
 
Real-time Semantic Web with Twitter Annotations
Real-time Semantic Web with Twitter AnnotationsReal-time Semantic Web with Twitter Annotations
Real-time Semantic Web with Twitter AnnotationsJoshua Shinavier
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Nicholas Zakas
 
Using HTML5 for a great Open Web
Using HTML5 for a great Open WebUsing HTML5 for a great Open Web
Using HTML5 for a great Open WebRobert Nyman
 
HTML5 Conference [LT] Blue Light Filter 50% Off
HTML5 Conference [LT] Blue Light Filter 50% OffHTML5 Conference [LT] Blue Light Filter 50% Off
HTML5 Conference [LT] Blue Light Filter 50% OffYusuke Kawasaki
 
Facebook and its development
Facebook and its developmentFacebook and its development
Facebook and its developmentTao Wang
 
Open Hack London - Introduction to YQL
Open Hack London - Introduction to YQLOpen Hack London - Introduction to YQL
Open Hack London - Introduction to YQLChristian Heilmann
 
HackMIT Presentation
HackMIT PresentationHackMIT Presentation
HackMIT PresentationMatt Harris
 
HTML5 for Web Designers
HTML5 for Web DesignersHTML5 for Web Designers
HTML5 for Web DesignersGoodbytes
 
WEB SOCKET 應用
WEB SOCKET 應用WEB SOCKET 應用
WEB SOCKET 應用Jerromy Lee
 
Papaya webinar: leveraging lifecycle
Papaya webinar: leveraging lifecyclePapaya webinar: leveraging lifecycle
Papaya webinar: leveraging lifecyclePapayaMobile
 
Take a Picture, It'll Last Longer
Take a Picture, It'll Last LongerTake a Picture, It'll Last Longer
Take a Picture, It'll Last LongerDean Shareski
 
Build Your First Mobile App in 1 hour with Windows App Studio
Build Your First Mobile App in 1 hour with Windows App StudioBuild Your First Mobile App in 1 hour with Windows App Studio
Build Your First Mobile App in 1 hour with Windows App StudioNick Landry
 
分享無名小站 API
分享無名小站 API分享無名小站 API
分享無名小站 APIJoseph Chiang
 

Similaire à Graph API - Facebook Developer Garage Taipei (20)

Facebook Platform for Developers
Facebook Platform for DevelopersFacebook Platform for Developers
Facebook Platform for Developers
 
Making sense out of things on the web
Making sense out of things on the webMaking sense out of things on the web
Making sense out of things on the web
 
Developing for Mobile
Developing for MobileDeveloping for Mobile
Developing for Mobile
 
Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)
 
Real-time Semantic Web with Twitter Annotations
Real-time Semantic Web with Twitter AnnotationsReal-time Semantic Web with Twitter Annotations
Real-time Semantic Web with Twitter Annotations
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
 
Using HTML5 for a great Open Web
Using HTML5 for a great Open WebUsing HTML5 for a great Open Web
Using HTML5 for a great Open Web
 
HTML5 Conference [LT] Blue Light Filter 50% Off
HTML5 Conference [LT] Blue Light Filter 50% OffHTML5 Conference [LT] Blue Light Filter 50% Off
HTML5 Conference [LT] Blue Light Filter 50% Off
 
Technical Introduction to YDN
Technical Introduction to YDNTechnical Introduction to YDN
Technical Introduction to YDN
 
YQL - HackU IIT Madras 2012
YQL - HackU IIT Madras 2012YQL - HackU IIT Madras 2012
YQL - HackU IIT Madras 2012
 
Facebook and its development
Facebook and its developmentFacebook and its development
Facebook and its development
 
Open Hack London - Introduction to YQL
Open Hack London - Introduction to YQLOpen Hack London - Introduction to YQL
Open Hack London - Introduction to YQL
 
HackMIT Presentation
HackMIT PresentationHackMIT Presentation
HackMIT Presentation
 
HTML5 for Web Designers
HTML5 for Web DesignersHTML5 for Web Designers
HTML5 for Web Designers
 
Web services and JavaScript
Web services and JavaScriptWeb services and JavaScript
Web services and JavaScript
 
WEB SOCKET 應用
WEB SOCKET 應用WEB SOCKET 應用
WEB SOCKET 應用
 
Papaya webinar: leveraging lifecycle
Papaya webinar: leveraging lifecyclePapaya webinar: leveraging lifecycle
Papaya webinar: leveraging lifecycle
 
Take a Picture, It'll Last Longer
Take a Picture, It'll Last LongerTake a Picture, It'll Last Longer
Take a Picture, It'll Last Longer
 
Build Your First Mobile App in 1 hour with Windows App Studio
Build Your First Mobile App in 1 hour with Windows App StudioBuild Your First Mobile App in 1 hour with Windows App Studio
Build Your First Mobile App in 1 hour with Windows App Studio
 
分享無名小站 API
分享無名小站 API分享無名小站 API
分享無名小站 API
 

Dernier

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Dernier (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

Graph API - Facebook Developer Garage Taipei

  • 1. Graph API Facebook Developer Garage Taipei CardinalBlue john, godfat @
  • 2. Graph API •What is it? • What to do? • What’s new?
  • 3. Graph API: What is it? • Launched at F8 (April 2010) • Simple REST API • Completely new!
  • 6. http://graph.facebook.com/hellokitty { "id": "40444963499", "name": "Hello Kitty", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/ hs625.ash1/27537_40444963499_5441_s.jpg", "link": "http://www.facebook.com/hellokitty", "category": "Public_figures_other", "username": "hellokitty", "affiliation": "Sanrio Inc. USA", "birthday": "11/01/-001", "personal_info": "Hello Kitty's Official Fan Page!nHello Kitty lives in the suburbs of London with her parents and her twin sister Mimmy. She has lots of friends at school with whom she shares many adventures.nHer trademark is her red bow that she always wears over her left ear.nHello Kitty is as heavy as three apples and as tall as five apples.", "personal_interests": "Traveling, listening to music, reading, eating yummy cookies, and making new friends. As Hello Kitty always says, u201cYou can never have too many friends!"nShe collects small, cute objects like ribbons, hair accessories, candy, stars, and goldfish.", "fan_count": 267913, "type": "page" }
  • 7. Connections http://graph.facebook.com/hellokitty?metadata=1 "metadata": { "connections": { "feed": "http://graph.facebook.com/hellokitty/feed", "posts": "http://graph.facebook.com/hellokitty/posts", "tagged": "http://graph.facebook.com/hellokitty/tagged", "statuses": "http://graph.facebook.com/hellokitty/statuses", "links": "http://graph.facebook.com/hellokitty/links", "notes": "http://graph.facebook.com/hellokitty/notes", "photos": "http://graph.facebook.com/hellokitty/photos", "albums": "http://graph.facebook.com/hellokitty/albums", "events": "http://graph.facebook.com/hellokitty/events", "videos": "http://graph.facebook.com/hellokitty/videos" } }
  • 8. object connection objects
  • 9. http://graph.facebook.com/hellokitty/posts { "data": [ { "id": "40444963499_420034668499", "from": { "name": "Hello Kitty", "category": "Public_figures_other", "id": "40444963499" }, "message": "Check out the cute Hello Kitty Nerds tote featured in Us Weekly! Find this and more Hello Kitty u201cNerdsu201d stuff at Sanrio.com and select Sanrio Boutiques.nnhttp://bit.ly/brVYHTn", "picture": "http://photos-h.ak.fbcdn.net/hphotos-ak-ash2/ hs003.ash2/33501_420032663499_40444963499_4947695_6515646_s.jpg", "link": "http://www.facebook.com/photo.php?pid=4947695&fbid=420032663499&id=40444963499", "name": "Nerd Alert!", "caption": "5 new photos", "icon": "http://static.ak.fbcdn.net/rsrc.php/z2E5Y/hash/8as8iqdm.gif", "type": "photo", "created_time": "2010-08-20T01:04:30+0000", "updated_time": "2010-08-20T01:04:30+0000", "likes": 892, "comments": { "count": 76 } }, { "id": "40444963499_419689583499", "from": { "name": "Hello Kitty", "category": "Public_figures_other", "id": "40444963499" }, "message": "Weu2019ve been playing with the Hello Kitty 35 mm Fisheye camera by Lomography and wanted to share some of the fun pictures weu2019ve taken! Has anyone else taken any awesome pictures with their Hello Kitty Fisheye cameras? Post them to our wall, we wanna see them! nnThe Hello Kitty Fisheye Camera is now available at Sanrio.com, select Sanrio Boutiques, Urban Outfitters, Lomography.com and Lomography gallery stores. nnhttp://bit.ly/91unb4n", "picture": "http://photos-f.ak.fbcdn.net/hphotos-ak-snc4/ hs389.snc4/45262_419686073499_40444963499_4941020_5615227_s.jpg", "link": "http://www.facebook.com/photo.php?pid=4941020&fbid=419686073499&id=40444963499", "name": "Fisheye Camera Photos", "icon": "http://static.ak.fbcdn.net/rsrc.php/z2E5Y/hash/8as8iqdm.gif", "type": "photo",
  • 10. Most data requires explicit user permission
  • 11. Access Token •Obtained when a user gives permissions to a Facebook application •Used for making Graph API calls For testing, try: http://oauth.twoalex.com
  • 13. How to get an access token • Redirect to OAuth • https://graph.facebook.com/oauth/authorize ... • https://graph.facebook.com/oauth/access_token ... • Javascript SDK • User clicks on login button • SDK stores the access token into a cookie
  • 14. Extended Permissions When authenticating, can ask the user for extended permissions: • user_photos, friend_photos • user_likes, friend_likes • read_stream, publish_stream • email • offline_access • and many more....
  • 15.
  • 16.
  • 17. Graph API •What is it? • What to do? • What’s new?
  • 18. Types of Facebook Apps • Canvas FBML • Canvas iframe • Website • Mobile website • Mobile (native) • Desktop
  • 19. Canvas apps • Canvas FBML • Canvas iframe
  • 20. Canvas apps • Canvas FBML • Canvas iframe
  • 21. Major Changes for Canvas Apps By end of this year (2010): 1. Canvas FBML will be deprecated... you must use Canvas iframe! 2. The Facebook “session_key” will disappear... you must use access_token for API calls! 3. The “fb_sig” parameters will disappear... you must query and cache user data!
  • 22. 1. Must use canvas iframe • Many FBML tags not supported in iframe • Use Javascript SDK to get XFBML (which is a subset of FBML tags for iframe apps) <fb:name uid=’4’></fb:name> • After end of 2010, FBML apps cannot be created.
  • 23. 2. Must use access token • You need to upgrade your SDK library • All calls to Facebook must be made with an access token: ‣ FQL Query https://api.facebook.com/method/fql.query?query=...&access_token=... ‣ Old REST API calls https://api.facebook.com/method/stream.publish?access_token=... https://api.facebook.com/method/pages.isFan?page_id=...&access_token=...
  • 24. Facebook’s PHP SDK http://github.com/facebook/php-sdk/  $me = $facebook->api('/me'); $mark = $facebook->api('/4'); $loginUrl = $facebook->getLoginUrl(); <a href="<?php echo $loginUrl; ?>"> Click to Login </a>
  • 26. 3. Must query and cache user data • Instead of many “fb_sig” parameters, Facebook will only pass a signed_request (containing access token and user id) • Many parameters will disappear, so you will need to query and cache them yourself... • fb_sig_friends => https://graph.facebook.com/me/friends?... • fb_sig_locale => https://api.facebook.com/methods/users.getInfo?...
  • 27.
  • 28. Types of Facebook Apps Authentication Markup Access Token Canvas FBML FBML signed request Canvas iframe Redirect to OAuth from cookie Javascript (placed by Website SDK XFBML Javascript SDK) Mobile website
  • 29. Summary: What to do? • Switch to new SDK • Use new login and get permissions • Convert all FQL queries and Old REST API calls into Graph API calls • Remove any references to fb_sig • For performance, set up caching
  • 30. Graph API •What is it? • What to do? • What’s new?
  • 31. What’s new? • Open Graph Protocol • Facebook Places API
  • 32. anything can be an object http://graph.facebook.com/http://www.facebook.com even an URL!
  • 33. not much information though { "id": "http://www.facebook.com", "shares": 666837 }
  • 34. but this one... http://graph.facebook.com/http://www.imdb.com/title/tt0117500/ { "id": "114324145263104", "name": "The Rock (1996)", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/ hs344.snc4/41581_114324145263104_7037_s.jpg", "link": "http://www.imdb.com/title/tt0117500/", "category": "Movie", "description": "Directed by Michael Bay. With Sean Connery, Nicolas Cage, Ed Harris. A group of U.S. marines, under command of a renegade general, take over Alcatraz and threat San Francisco Bay with biological weapons. A chemical weapons specialist and the only man to have ever escaped from the Rock are the only ones who can prevent chaos. Visit IMDb for Photos, Showtimes, Cast, Crew, Reviews, Plot Summary, Comments, Discussions, Taglines, Trailers, Posters, Fan Sites", "fan_count": 931 }
  • 35. ...has connections http://graph.facebook.com/http://www.imdb.com/title/tt0117500?metadata=1 { "id": "118133258218514", [...], "metadata": { "connections": { "feed": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/feed", "posts": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/posts", "tagged": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/tagged", "statuses": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/statuses", "links": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/links", "notes": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/notes", "photos": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/photos", "albums": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/albums", "events": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/events", "videos": "http://graph.facebook.com/http://www.imdb.com/title/tt0117500/videos" } }, "type": "page" }
  • 36. adding <meta> tag to any web page turns it into a facebook object
  • 39. Graph API for checkins Extended permissions: user_checkins, friend_checkins https://graph.facebook.com/[user id]/checkins https://graph.facebook.com/[place page id]/checkins https://graph.facebook.com/search?type=checkins
  • 40. See where your friends have checked in: http://fbfetcher.heroku.com/ welcome/places
  • 41. Graph API • What is it? Simple new REST API with OAuth2.0 • What to do? Rewrite your apps using new SDKs • What’s new? Open Graph, Facebook Places.

Notes de l'éditeur