Developer Network Home - Help

Yahoo! Developer Network blog: September 2006 Archives

« August 2006 | Main | October 2006 »

Web Services Archive

September 29, 2006

BBAuth's best friend! The new Photos API

Today is the day! The first API that launches publicly with BBAuth support is Yahoo! Photos. Developers can now write application that have read/write access to Yahoo! data! Since it is BBAuth enabled, users can grant third-party applications permission to work with their images.

The Photos API supports broad search functionality, upload photos, tagging, modifying titles and descriptions and much more! Try it out today and let us know what you think.

Dan Theurer

Posted by dantheurer at 10:18 AM

Our Users Can Be Your Users Too

Millions of people around the world use Yahoo! every day. One reason is that a single user id and password gives them access to more content and services than you can get anywhere else. In fact, we small companies often say things like "if we only had a fraction of your users..."

Now they can. Anyone can.

Our Browser Based Authentication (BBAuth) is a generic mechanism that will allow users to grant 3rd party web-based applications access their Yahoo! data. There's already a similar mechanism in place on Flickr and used by services like MOO. BBAuth is the protocol that's going to open the door to doing the same thing for many Yahoo! branded services in the coming months. Stay tuned for those announcements. :-)

Beyond that, BBAuth also makes it possible to use Yahoo! as a single sign-on for your site, thus removing a barrier to entry for a whole lot of people (over 200 million to be exact). This is still fairly experimental, so we'd love to get your feedback and input on how to make it even more useful.

See Also: Launching the Un-Launch-Able (Dan's blog)

Dan Theurer
Jeremy Zawodny

Posted by dantheurer at 9:45 AM

September 28, 2006

Up and Coming PHP5 Goodies

Not to be outdone by the Flickr Announcement a few hours ago, the Upcoming team has some API gifts for Hack Day:

First off, here's our New PHP5-compatible API Wrapper. It's a pretty early release, so i've put up a wiki page detailing how to get started with the PHP5 API Wrapper. My wrapper beta testers tell me that although there are some issues they had to figure out with the example code, the class itself is generally working for them. If you have feedback, please post a note in the talk page for the wrapper.
We also are introducing of the new state.getInfo and country.getInfo methods, available by popular demand. Also, the method has been modified to accept the new "show" parameter, allowing you to retrieve a user's watchlist history, upcoming events, or the watchlist across all time.

This should fix the limitations that were preventing some developers from fetching a complete user history from the API.
For those of you who would like to attend, i'll be at the Open Hack Day, doing a quick presentation about Upcoming.org Event Hacks using the API at 4:15pm (Full schedule at the YUI blog). Our fearless leader, Andy Baio, will also be doing a presentation at 10:00am that looks at why certain online communities tend to go offline.

Excellent!

Jeremy Zawodny

Posted by jzawodn at 9:47 PM | Comments (0)

Flickr loves JSON

Cal just posted great news in the yws-flickr group: JSON support for all calls!

we've just released support for all methods to optionally return JSON or serialized PHP responses. the documentation can be found here:
http://www.flickr.com/services/api/response.json.html http://www.flickr.com/services/api/response.php.html
if you find any problems, we'd love to hear about them (and fix them) as soon as possible. if you can think of any other output formats you'd find useful then feel free to suggest them and we'll see what we can do :)
hopefully we'll be seeing a lot of you at tomorrow's Yahoo! Open Hack Day, hacking on the flickr APIs:
http://hackday.org/
Cal

Dan Theurer

Posted by dantheurer at 5:01 PM

September 26, 2006

getTime - Our First Utility Web Service

getTime is a handy service for building AJAX applications and learning how to work with XML and web services. When called, getTime returns the current time on the Yahoo! server, in your choice of XML, serialized PHP, or JSON.

The first application using getTime is the countdown timer on hackday.org. We're using the serialized PHP result, unserialze it and pull the value out of the array.

$timeUrl = "http://developer.yahooapis.com/TimeService/V1/getTime?appid=YahooHackDay&output=php";
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $timeUrl );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
$result = curl_exec($ch);
$result = unserialize($result);
$timestamp = $result['Result']['Timestamp'];

Yes, this may be overkill ... :)

Dan Theurer

Posted by dantheurer at 9:15 AM

September 21, 2006

Ruby Developer Center Launches

Ruby is a beautiful language to write code in, and, thanks to Ruby on Rails, it's being used quite a lot in web applications. If you're just getting started with Ruby, be sure to check out our useful links. If you're already familiar with the language and want to jump right in with Yahoo!'s web services, we've got a series of HOWTOs just for you.

We've also created a new Yahoo! Group: ydn-ruby. Join up and get help, or discuss your favorite API tricks and techniques.

Finally, if you've built a Ruby-powered application, please consider uploading it to the Applications Gallery. We love to hear about your hacks!

Premshree Pillai

Posted by Kent Brewster at 12:22 PM

Flash Developer Center Launches

Please welcome the latest addition to the YDN Developer Center family: a bouncing baby Flash Developer Center.

With examples in both ActionScript 2 and ActionScript 3, the Flash Developer Center will have you mashing up search, maps, music, and events in no time.

Brand-new to Flash? No worries; see our list of downloads and resources to get started. And for even more help, join our new YDN group, ydn-flash, and start trading those API tips and tricks with your fellow developers.

Jeffery Bennett

Posted by Kent Brewster at 11:23 AM

September 20, 2006

We've Got Links

Many of us on the YDN team use social bookmarking services like del.icio.us and My Web to bookmark and tag interesting stuff we come across. And, believe it or not, some of it is even related to what we're doing on the Yahoo! Developer Network (code, APIs, hack day, you name it).

I recently wrote a script that pulls those links from each service, finds those tagged with "ydn" and then adds them to our group linkblog. The links haven't been exposed yet on the site (that'll happen soon), but there's an RSS feed available.

If you're interested in seeing how it all works, I can put some code up and document things a bit more too.

I'd suggest that you post a comment, but we (and by "we" I mean "I") need to get comments turned back on here. Stayed tuned for that too. Until then, you can send email. How's that for self-motivation? :-)

Jeremy Zawodny

Posted by jzawodn at 7:34 PM

AJAX Maps API update - Version 3.4!

Version 3.4 of the Yahoo! AJAX Maps comes with great additions that make it very tempting to upgrade, which is not required if you don't want to take advantage of the added functionality. The new features include polyline overlays, an option to export GeoRSS from a map, traffic overlays (which is already possible in the Flash version), and more.

Interested? Have a look at the documentation or the Local blog.

Dan Theurer

Posted by dantheurer at 2:00 PM

Yahoo! Hack Day kicks off Friday September 29 -- sign up!

(Note: this is essentially a cross-post from my personal blog with some minor changes -- apologies in advance if you already read this there!)

Planning for the big open Yahoo! Hack Day that I wrote about on my personal blog three weeks ago is well underway, as it should be -- we kick off next Friday, September 29 at 5pm, and man, we are EXCITED and have some amazing things in store. If you're interested in attending, submit your information on the form at the bottom of the hackday.org homepage, or mark yourself as "attending" on the Upcoming page for the event. Space is limited and we'll have to cut off signups before the event, so sign up now. We're still issuing invites, so if you haven't gotten one yet, don't despair (for logistical reasons, though, we ask that you sign up and not crash so that we can plan appropriately, print out your name badges, etc.)

Also, don't forget the free Friday developer workshop -- here are all the details. To come to this, just fill out the form at the bottom of the hackday.org homepage and indicate that you want to attend the workshop. yurt.jpg So far, we've been contacted by hackers, designers, mimes (!), and at least one yurt enthusiast. Well, it takes a village to pull off a Hack Day, so if you're coming, prepare yourself (and your yurt, if you so choose) for camping on the beautiful Yahoo! grass, good times with your hacker pals and the new ones you'll meet, and the opportunity to demo your work in front of your peers and some other very cool people we'll have there. Mike Arrington from TechCrunch is our emcee.

At this point we already have carloads of people coming from all over the Bay Area, planes from Canada, college students flying in from Florida, a strong Chicago contingent, and people from everywhere in between (one person is trying to make it in from Australia!)

If you're coming and don't know who you're going to hack with, don't fret -- we'll be doing on-site matchmaking and people like myself, Rasmus Lerdorf, Jeremy Zawodny, and many, many other sharp Yahoos will be on-hand to help you as well. If you want to help, let us know by saying so in the free text box in the form on the hackday.org homepage.

For more details, check out these resources:

We'll be posting ongoing updates on the Hack Day blog. Stay tuned! Chad Dickerson

Posted by Chad Dickerson at 12:52 AM

September 12, 2006

Yahoo! Answers API: Now With Filtering and Sorting!

Ready to dive even deeper into Yahoo! Answers? Only looking for the best answers? Freshest questions? Questions and answers from users in your home region? You're in luck: our crack Answers API team has added a bunch of new fields and filters, allowing your apps to refine queries by question and answer, sort by date and relevance, filter by date range and region, and much more.

The answer you want is out there -- get hacking!

Kent Brewster

Posted by Kent Brewster at 4:00 PM

Announcing Collections Search

Want to know where people are going and what they're going to do once they get there? Planning the ultimate Maui vacation or honeymoon in Vegas? Check out our brand-new Local Search additions, collectionSearch and getCollection. Search for a service or destination and you'll be rewarded with user-created travel collections from all around the world.

Kent Brewster

Posted by Kent Brewster at 3:44 PM

September 6, 2006

Security Best Practices - Better safe than sorry!

We are happy to announce the latest addition to our Developer Central section. Hidden between various language-specific Developer Centers, the SDK, and the YUI Libraries, you’ll find a new section: Security Best Practices.

Security Best Practices includes useful information about writing secure applications for secure servers, such as how to protect your application against SQL injections, what needs to be done to prevent XSS or request forgeries, and more.

Dan Theurer

Posted by dantheurer at 11:30 AM

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings