Taiwan Open Hack 2009: Yahoo! Open Strategy


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Taiwan Open Hack 2009: Yahoo! Open Strategy

  1. 1. Yahoo!Kimo Introduction to Yahoo! Open Strategy Erik Eldridge Yahoo! Developer Network Slideshare.net/erikeldridge
  2. 2. Presentation structure <ul><li>Introduction to Yahoo! Open Strategy </li></ul><ul><li>Social APIs </li></ul><ul><li>Yahoo! Query Language </li></ul><ul><li>Oauth </li></ul><ul><li>OpenID </li></ul>
  3. 4. Y!OS Platforms
  4. 5. Presentation structure <ul><li>Introduction to Yahoo! Open Strategy </li></ul><ul><li>Social APIs </li></ul><ul><li>YQL </li></ul><ul><li>Oauth </li></ul><ul><li>OpenID </li></ul>
  5. 6. Social APIs: Social Directory API <ul><li>Read access to profile data for you and your friends </li></ul>
  6. 7. Screenshot showing profile data Name, gender, address Profile picture
  7. 8. Accessing Social Dir. API http://social.yahooapis.com/v1/user/{guid}/profile Yahoo! SDKs return JSON by default
  8. 9. Screenshot of code to fetch social dir. data Use a Yahoo! SDK for easy OAuth
  9. 10. Social APIs: Status API <ul><li>Read/write access to a 140 character personal statement </li></ul>
  10. 11. Screenshot showing status Status message
  11. 12. Accessing Status API social.yahooapis.com/v1/user/{guid}/profile/status
  12. 13. Social APIs: Updates API <ul><li>Read/write access to the Yahoo! event stream </li></ul><ul><li>A very powerful service </li></ul><ul><ul><li>Simple integration </li></ul></ul><ul><ul><li>Far reaching </li></ul></ul>
  13. 14. Yahoo! Updates diagram
  14. 15. Screenshot showing updates Updates on profile page
  15. 16. Screenshot of updates in Yahoo! Mail Updates in Yahoo! Mail
  16. 17. Accessing Updates API http://social.yahooapis.com/v1/user/{guid}/updates
  17. 18. Contacts API <ul><li>Read/write access to your address book </li></ul>
  18. 19. Screenshot showing contacts Contacts in Yahoo! Mail
  19. 20. Accessing Contacts API http://social.yahooapis.com/v1/user/{guid}/contacts
  20. 21. Yahoo! Social SDKs <ul><li>PHP, Python, Objective C </li></ul><ul><li>Manage OAuth easily </li></ul><ul><li>Open source on Github </li></ul>
  21. 22. Screenshot of Yahoo!’s Github page Experimental PHP SDK Standard PHP SDK Objective C, python SDKs
  22. 23. Presentation structure <ul><li>Introduction to Yahoo! Open Strategy </li></ul><ul><li>Social APIs </li></ul><ul><li>YQL </li></ul><ul><li>Oauth </li></ul><ul><li>OpenID </li></ul>
  23. 24. Yahoo! Query Language <ul><li>SQL-like syntax </li></ul><ul><ul><li>SELECT {fields} from {table} WHERE {key} = {value} </li></ul></ul><ul><ul><li>SELECT * FROM flickr.photos.search WHERE text=&quot; 臺北 101” </li></ul></ul><ul><ul><li>SELECT * FROM html where url=“http://www.wretch.cc/” </li></ul></ul><ul><ul><li>SELECT * FROM flickr.photos.search WHERE has_geo=&quot;true&quot; and woe_id in (SELECT woeid FROM geo.places WHERE text=&quot;taipei&quot; LIMIT 1) </li></ul></ul><ul><li>Extensible access to APIs/data </li></ul><ul><li>SELECT * FROM Internet </li></ul>
  24. 25. Screenshot of YQL console showing YQL query YQL query to execute Come to my YQL talk for more info!
  25. 26. Presentation structure <ul><li>Introduction to Yahoo! Open Strategy </li></ul><ul><li>Social APIs </li></ul><ul><li>YQL </li></ul><ul><li>OAuth </li></ul><ul><li>OpenID </li></ul>
  26. 27. OAuth <ul><li>Standardized, open protocol for authorizing 3rd-party access to data </li></ul>
  27. 28. Diagram of Oauth protocolOauth, part 2 External Service (3rd-party) (2rd-party) (1st-party) Data Authorization Service
  28. 29. Presentation structure <ul><li>Introduction to Yahoo! Open Strategy </li></ul><ul><li>Social APIs </li></ul><ul><li>YQL </li></ul><ul><li>OAuth </li></ul><ul><li>OpenID </li></ul>
  29. 30. OpenID <ul><li>Standardized, open protocol for authenticating a user </li></ul>
  30. 31. Diagram of OpenID protocol External Service (3rd-party) (2rd-party) (1st-party) Identity Authentication Service
  31. 32. Screenshot of Taiwan’s OpenID login page The OpenID login page
  32. 33. Thank you! <ul><li>Resources: delicious.com/erikeldridge/ taiwanhackday09+presentation+yos </li></ul><ul><li>Find this talk on Slideshare: slideshare.net/erikeldridge </li></ul><ul><li>Follow me on Twitter: twitter.com/erikeldridge </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.