March 17, 2007

flickr'd

I'm playing around with all that tasty Web 2.0 stuff, and trying to come to grips with Flickr for a super top-secret project (an ill-conceived idea of writing my own Quartz screensaver, if you must know).

I just got stumped for a couple of minutes by this: the docs for the Flickr REST interface imply a mythical api.flickr.com address. Turns out that as far as I can tell the docs are wrong - you want www.flickr.com instead.

Once more, for Googlers:

http://api.flickr.com/services/rest/?method=flickr.test.echo&name=value

should be ....

http://www.flickr.com/services/rest/?method=flickr.test.echo&name=value

You can test it in Firefox, and you should see some XML back:

<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="100" msg="Invalid API Key (Key not found)" />
</rsp>

I think all online documentation should have a quick and easy form at the bottom for submitting errors and omissions. How about it, flickr?

Posted by savs at March 17, 2007 7:40 PM