History• 5 Corporate Board Members – Google, IBM, Jive Software, MySpace, Yahoo!• First released November 1, 2007, is Google’s response to Facebook Developer Platform• Version 0.8 was released on May 28, 2008• Version 0.9 was released on April 16, 2009• Version 1.0 was released on March 15, 2010
RESTful API• The base URI for the web service, such as http://example.com/resources/• Data format: JSON, XML, Atom or YAML• The set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).
Use RESTful API to access protected resource of other users – How to manage?
OAuth• What is it?• OAuth flow (2-legged & 3-legged)• Consumer Key & Consumer Secret
What is OAuth?• Security protocol that allows to share private data hosted on x web site with y web site
Terminologies• Consumer Application trying to access protected resource• Service Provider Website or web-service hosting protected resource• User Owner of the protected data• Protected Resource Images, Videos or documents hosted on web site or web-service which are protected by the user• Tokens Random string of letters and numbers which is unique. Request Token, Access Token• Scope Set of data hosted on service provider that user wants to share with consumer