taiwan open hack 2009: yahoo! open strategy

Post on 12-Sep-2014

2.006 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

Yahoo!Kimo Introduction to Yahoo! Open Strategy

Erik EldridgeYahoo! Developer NetworkSlideshare.net/erikeldridge

Presentation structure

• Introduction to Yahoo! Open Strategy

• Social APIs

• Yahoo! Query Language

• Oauth

• OpenID

Y!OS Platforms

Presentation structure

• Introduction to Yahoo! Open Strategy

• Social APIs

• YQL

• Oauth

• OpenID

Social APIs: Social Directory API

• Read access to profile data for you and your friends

Screenshot showing profile data

Name, gender, address

Profile picture

Accessing Social Dir. APIhttp://social.yahooapis.com/v1/user/{guid}/profile

Yahoo! SDKs return JSON by default

Screenshot of code to fetch social dir. data

Use a Yahoo! SDK

for easy OAuth

Social APIs: Status API

• Read/write access to a 140 character personal statement

Screenshot showing status

Status message

Accessing Status API

social.yahooapis.com/v1/user/{guid}/profile/status

Social APIs: Updates API

• Read/write access to the Yahoo! event stream

• A very powerful service- Simple integration- Far reaching

Yahoo! Updates diagram

Screenshot showing updates

Updates

on p

rofil

e pag

e

Screenshot of updates in Yahoo! Mail

Updates

in Y

ahoo! M

ail

Accessing Updates APIhttp://social.yahooapis.com/v1/user/{guid}/updates

Contacts API

• Read/write access to your address book

Screenshot showing contacts

Contact

s in

Yah

oo! Mai

l

Accessing Contacts APIhttp://social.yahooapis.com/v1/user/{guid}/contacts

Yahoo! Social SDKs

• PHP, Python, Objective C

• Manage OAuth easily

• Open source on Github

Screenshot of Yahoo!’s Github page

Exper

imen

tal P

HP SDK

Standar

d PHP S

DK

Object

ive

C, pyt

hon SDKs

Presentation structure

• Introduction to Yahoo! Open Strategy

• Social APIs

• YQL

• Oauth

• OpenID

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

Screenshot of YQL console showing YQL query

YQL query to execute

Come to my YQL talk formore info!

Presentation structure

• Introduction to Yahoo! Open Strategy

• Social APIs

• YQL

• OAuth

• OpenID

OAuth

• Standardized, open protocol for authorizing 3rd-party access to data

Diagram of Oauth protocolOauth, part 2

External Service(3rd-party)

(2rd-party)

(1st-party)

Data

Authorization

Service

Presentation structure

• Introduction to Yahoo! Open Strategy

• Social APIs

• YQL

• OAuth

• OpenID

OpenID

• Standardized, open protocol for authenticating a user

Diagram of OpenID protocol

External Service(3rd-party)

(2rd-party)

(1st-party)

Iden

tity

Authentication

Service

Screenshot of Taiwan’s OpenID login page

The OpenID login page

Thank you!

• Resources:delicious.com/erikeldridge/taiwanhackday09+presentation+yos

• Find this talk on Slideshare:slideshare.net/erikeldridge

• Follow me on Twitter:twitter.com/erikeldridge

top related