Saturday April 22, 2006
10:17 AM
API overkill
although I'm probably the last person on the internet to do so, the other day I started cross-posting my personal photos to flickr. of course, didn't want to do anything by hand, so I went off to CPAN looking for an API. there were a few to choose from, but Flickr::Upload caught my attention as being somewhat simple... but the process that followed was anything but - register for an API key from flickr, figure out this auth key thingy (which I still haven't), the download a slurry of dependencies (which included an Acme:: module, and which ended when I saw CPAN.pm wanted to install SOAP::Lite). all this just to upload a picture every once in a while? granted, I'm sure the full API offers much, much more, but for my immediate needs, no thanks.
so, a bit of wandering through flickr showed they have an email upload option. so MIME::Lite, 10 lines of code, and 5 minutes later and I'm uploading photos. sometimes you need an uber API, and sometimes you don't...
so, will I start to receive photo spam as spammers hit random @flickr.com email addresses and stumble upon my upload address? hmm...
Indeed (Score:2)
Re:Indeed (Score:1)
Ug. (Score:1)
Re:Ug. (Score:2)
Acme-Steganography-Image-Pngsomewhere in the process - it's not listed inFlickr::Upload's prereqs...Re:Ug. (Score:1)
I wrote
Net::FS::Flickrwhich requiresAcme::Steganography::Image::Png(for reasons that are obvious if you read the docs of the module)Are you sure you weren't trying to install that?
Re:Ug. (Score:2)
CPAN.pm, and it's not in my cpan build directory. but it doesn't really matter to me - I wasn't trying to come down on cpan dependencies (or a dependency on anAcme::module) - it was just a bit of a rant, really