taiwan open hack 2009: yahoo! open strategy
Post on 12-Sep-2014
2.007 views
DESCRIPTION
TRANSCRIPT
![Page 1: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/1.jpg)
Yahoo!Kimo Introduction to Yahoo! Open Strategy
Erik EldridgeYahoo! Developer NetworkSlideshare.net/erikeldridge
![Page 2: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/2.jpg)
Presentation structure
• Introduction to Yahoo! Open Strategy
• Social APIs
• Yahoo! Query Language
• Oauth
• OpenID
![Page 3: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/3.jpg)
![Page 4: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/4.jpg)
Y!OS Platforms
![Page 5: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/5.jpg)
Presentation structure
• Introduction to Yahoo! Open Strategy
• Social APIs
• YQL
• Oauth
• OpenID
![Page 6: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/6.jpg)
Social APIs: Social Directory API
• Read access to profile data for you and your friends
![Page 7: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/7.jpg)
Screenshot showing profile data
Name, gender, address
Profile picture
![Page 8: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/8.jpg)
Accessing Social Dir. APIhttp://social.yahooapis.com/v1/user/{guid}/profile
Yahoo! SDKs return JSON by default
![Page 9: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/9.jpg)
Screenshot of code to fetch social dir. data
Use a Yahoo! SDK
for easy OAuth
![Page 10: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/10.jpg)
Social APIs: Status API
• Read/write access to a 140 character personal statement
![Page 11: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/11.jpg)
Screenshot showing status
Status message
![Page 12: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/12.jpg)
Accessing Status API
social.yahooapis.com/v1/user/{guid}/profile/status
![Page 13: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/13.jpg)
Social APIs: Updates API
• Read/write access to the Yahoo! event stream
• A very powerful service- Simple integration- Far reaching
![Page 14: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/14.jpg)
Yahoo! Updates diagram
![Page 15: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/15.jpg)
Screenshot showing updates
Updates
on p
rofil
e pag
e
![Page 16: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/16.jpg)
Screenshot of updates in Yahoo! Mail
Updates
in Y
ahoo! M
ail
![Page 17: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/17.jpg)
Accessing Updates APIhttp://social.yahooapis.com/v1/user/{guid}/updates
![Page 18: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/18.jpg)
Contacts API
• Read/write access to your address book
![Page 19: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/19.jpg)
Screenshot showing contacts
Contact
s in
Yah
oo! Mai
l
![Page 20: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/20.jpg)
Accessing Contacts APIhttp://social.yahooapis.com/v1/user/{guid}/contacts
![Page 21: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/21.jpg)
Yahoo! Social SDKs
• PHP, Python, Objective C
• Manage OAuth easily
• Open source on Github
![Page 22: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/22.jpg)
Screenshot of Yahoo!’s Github page
Exper
imen
tal P
HP SDK
Standar
d PHP S
DK
Object
ive
C, pyt
hon SDKs
![Page 23: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/23.jpg)
Presentation structure
• Introduction to Yahoo! Open Strategy
• Social APIs
• YQL
• Oauth
• OpenID
![Page 24: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/24.jpg)
Yahoo! Query Language
• SQL-like syntax- SELECT {fields} from {table} WHERE {key} = {value}- SELECT * FROM flickr.photos.search WHERE text=" 臺北 101”- SELECT * FROM html where url=“http://www.wretch.cc/”- SELECT * FROM flickr.photos.search WHERE has_geo="true" and woe_id in
(SELECT woeid FROM geo.places WHERE text="taipei" LIMIT 1)
• Extensible access to APIs/data
• SELECT * FROM Internet
![Page 25: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/25.jpg)
Screenshot of YQL console showing YQL query
YQL query to execute
Come to my YQL talk formore info!
![Page 26: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/26.jpg)
Presentation structure
• Introduction to Yahoo! Open Strategy
• Social APIs
• YQL
• OAuth
• OpenID
![Page 27: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/27.jpg)
OAuth
• Standardized, open protocol for authorizing 3rd-party access to data
![Page 28: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/28.jpg)
Diagram of Oauth protocolOauth, part 2
External Service(3rd-party)
(2rd-party)
(1st-party)
Data
Authorization
Service
![Page 29: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/29.jpg)
Presentation structure
• Introduction to Yahoo! Open Strategy
• Social APIs
• YQL
• OAuth
• OpenID
![Page 30: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/30.jpg)
OpenID
• Standardized, open protocol for authenticating a user
![Page 31: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/31.jpg)
Diagram of OpenID protocol
External Service(3rd-party)
(2rd-party)
(1st-party)
Iden
tity
Authentication
Service
![Page 32: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/32.jpg)
Screenshot of Taiwan’s OpenID login page
The OpenID login page
![Page 33: Taiwan Open Hack 2009: Yahoo! Open Strategy](https://reader036.vdocuments.mx/reader036/viewer/2022062613/5412f0ce8d7f72314e8b476d/html5/thumbnails/33.jpg)
Thank you!
• Resources:delicious.com/erikeldridge/taiwanhackday09+presentation+yos
• Find this talk on Slideshare:slideshare.net/erikeldridge
• Follow me on Twitter:twitter.com/erikeldridge