3. Two ways to hack Yahoo! Social
1) Open Applications 2) Social APIs
HOME PAGE
MY YAHOO!
SOCIAL UPDATES
Y! TOOLBAR
DIRECTORY
PULSE
…more coming soon
CONTACTS STATUS
Run your applications across Yahoo! Syndicate UGC
Reach large Yahoo! audience Leverage Yahoo!’s 600+ million
users in your social applications
7/2/10
4. Open Applications
HOME PAGE
MY YAHOO!
Y! TOOLBAR
PULSE
…more coming soon
7/2/10
10. Why hack open apps?
EASY TO BUILD
- Quickly prototype idea within 24 hours ENGAGING
- Permanently parked in high-traffic starting points
- Launch directly in production. No blockers! - Viral in nature
DISTRIBUTABLE
- Discovery
- Promotion
- Media buy enhanced
SOCIAL
- Access user Profile & Connection data
- Interactive, personalized
MY APP
7/2/10
12. YAP : Small View
• Small View:
• Cached, needs to be fast
• Supports only: Html, Inline css, YML
• Can be pushed
programmatically
• SetSmallView(guid, newYML)
• Can be updated with fresh
content
• yml:include fetches new data from your servers
7/2/10
13. YAP: Canvas View
• Loads external URL
from your server
• Support for:
• Open social 0.8 (JS & REST)
• YML, CSS, HTML, JS
• Runs in an iFrame with
Caja
• Yahoo! SDK
7/2/10
14. YAP - Accessing User Data
• Guid
• Unique identifier for a user
• Public info, can be stored on your servers
• Consumer Key / Secret
• Specifies “API Scopes”
• Enables to query Yahoo! WS
• Necessary for OAuth 1.1 authentication
• Automatically created for you in devTool
7/2/10
15. Social Platforms: Available APIs
• Social Directory: One Social Graph
• Contacts, connections & profile data
• Updates
• Syndicate user content & activity
• Presence
• Read, write presence
• SDK simplifies access
• Make it easy: YQL
- - 7/2/10
16. YML: Yummy Language To Get You
Started
• Enables you to get cool features fast
• <yml:a view=”Full” params=”prefs.php”/>
• Enables ajaxy behaviors in SmallView
• <yml:include>
• Enables to load fresh content once SmallView is loaded
• <yml:profile-pic uid=”XXX”>
• <yml:name uid=”viewer” linked="true"/>
• <yml:friend-selector uid="viewer"/>
• <yml:user-badge uid="viewer" linked="true” />
More: http://developer.yahoo.com/yap/guide/yapdev-yml.html
- - 7/2/10
17. YAP Cautions
• Your gadget URL needs to be a prod host
• Not all HTML/JS will run for security
• JS/HTML will be cajoled
• YML and OpenSocial are whitelisted
• Small view:
• No Javascript
• NO CSS
• No <a> Links except via YML
7/2/10
32. More tuning
Query search:
select * from social.updates.search where
query='earthquake';
select * from social.updates.search where
link='huffingtonpost.com';
7/2/10
33. Hacking: Updates in your language
http://www.flickr.com/photos/dimitridf/2841804136/