8. Leverage Yahoo!’s 600+ million
users in your social
applications
with Yahoo!’s Social APIs.
9. Two ways to hack Social APIs
Open applica/ons are applica/ons
that run on the Yahoo! network or
other open social containers
OAuth applica/ons are standalone
applica/ons that run off the Yahoo!
network.
33. More with meme
• INSERT INTO meme.user.posts (type, content,
caption) VALUES ("photo", "http://www.yahoo.com/
myphoto.jpg", "this is the photo caption”)
• INSERT INTO meme.user.posts (type, content,
caption) VALUES ("video", "http://www.vimeo.com/
12345", "this video is awesome")
• SELECT * FROM meme.search WHERE
query=”hackday”
• SELECT * FROM meme.popular WHERE locale='in'
34. Y! Social SDK
What can you do?
34
h3p://www.flickr.com/photos/phploveme/2847931240/
35. Yahoo! Social SDK – Features
• Examples for OpenSocial, PHP, Python
• Performs OAuth authorizaiton
• REST calls to the Yahoo! Social Web Services
– Fetching Profiles
– Fetching and Inserting Updates
– Fetching Connections
– Executing YQL
62. Social Data with YQL ‐ Recap
select * from social.profile where guid=me
select * from social.connections where
owner_guid=me
select message from social.profile.status
where guid=me
select * from social.updates where guid=me
68. What is OpenSocial?
• OpenSocial API
• For developing applicaTons on social
networks
• Accessing social data (profiles, connecTons)
• Fetching and inserTng acTviTes
• Implemented by many containers
• Develop once, distribute broadly