open hack 2008 mybloglog
Post on 21-Jun-2015
903 Views
Preview:
DESCRIPTION
TRANSCRIPT
MyBlogLog API
Real Users, Real Data
Ian Kennedy
DNS service for people
• Avatar• Basic Demographics• Friends, Sites• Tags• Lifestream• 3rd Party IDs• RSS Out
MyBlogLog API
• In production today, real users, real data– member.find.byguid to map YID to MBL ID
• XML, JSON, Serialized PHP output• Public & Private Data
API Deets – Profiles “members”
• Lookup Members– By Screenname on mybloglog.com– By Screenname on 3rd party service– By Tag– By Yahoo GUID
• Info about Members– List Contacts– List Sites Joined– List Tags, Sites Authored, Recent Sites Joined– Messages– Lifestream
Sample Code
<id>2007072014210030</id> <nickname>Robyn T</nickname> <screen_name>robynt</screen_name><pict>http://F3.yahoofs.com/coreid/
46f31b9ci1dcazul1sp1/4jGPrJsjNbKMHbdQEXT3vTA-/1/tn48.jpg?ciAkOOHBfbly9NYo</pict>
<url>http://www.mybloglog.com/buzz/members/robynt/</url> <profile> <age/> <sex>female</sex> <location> <city>San Francisco</city> <region/> <country>US</country> <zip/> <bio/> </location> </profile>
API Deets – Sites “communities”
• Lookup Sites– By Author– By Name– By Tag– List Members
• Info about Sites– Shared Members for two sites– Tags for a Site– Stats for a Site
Sample Code
<id>2005081115473684</id> <member_count>36972</member_count> <author_count>6</author_count> <name>MyBlogLog</name> <description>Know what engages your readers</description> <url>http://www.mybloglog.com/buzz/community/mybloglog/</url> <site_url>http://www.mybloglog.com</site_url>
<pict>http://s3.amazonaws.com/buzz_sh/2005081115473684_sh.jpg</pict>
API Deets – Lifestream “New with Me”
• Lookup Lifestreams– By Member– By Member’s Contacts– By Member’s Tags “topics”– By Tags “topics”
Sample Code
<event> <name>delicious</name> <member> <id>2007040920150647</id> <nickname>Incubus</nickname> <screen_name>billy21</screen_name><pict>http://f3.yahoofs.com/coreid/47623229i15c6zul2sp1/
AJjnJfA7cqcCjYjr1l.CVwt1OgU-/101/tn48.jpg?ciAoq_HBQILY1cPb</pict>
<url>http://www.mybloglog.com/buzz/members/billy21/</url> </member> <username>billy21</username> <title>Meteora Javascript Widgets</title> <url>http://meteora.astrata.com.mx/</url> <description></description> <topics>ajax javascript mootools tool tools web web2.0
widgets</topics> <created_at>2008-03-25T00:04:58-07:00</created_at> </event>
API Deets – OAuth methods
• community join
• messaging– send message– remove message– bulk community
message– report spam
• add/delete services• edit profile
– bio – page
• stats– daily summary– top referrers– top outgoing clicks– top pageviews
Sample Exercise
• Find user Tags– member.find.byscreenname– member.find.byid
• Find user Lifestream– member.find.byid– member.newwithme
• Find Site Description– community.find.byname– community.readers.list
Inspiration
Community Visualization
Inspiration – Simple Behavioral Targeting
Just For You @ WordPress
Tags = Web 2.0, mybloglog
Tags = Alameda, Japan
More Info
Site - mybloglog.com
Docs - hackday.developer.yahoo.com/mybloglog
Console - hackday.developer.yahoo.com/mybloglog/console.html
top related