Friday, 20 November 2009

Processing the Flicker API

Digital Animation with Flicker

I've been experimenting with the Flickr Api this week and used it along with a sketch I had written previously for Chunk 16 images. I don't have that much experience of using Flickr, but it was relatively easy to use their API. The main problem I am having is that the URL I use seems to change on a daily basis. This would stop me posting an applet version on the Internet. Even if I got around this by not using my authority code I would still need to sign the applet as it gets its images from a different web site than the one where the applet started.
I used the flickr.interestingness.getList method in my URL to retreive the images. This returns the most viewed photos of the day on Flickr.
They have an excellent resource that can be used to generate the required URL. Processing doesn't need any extra libraries to use Flickr but it does require you to add 'format=json' to extras field when you fill in the details to allow it to use the images.
When you request the images you are sent an xml file with the details of the available photos. I just used Java substrings to get the info needed to build the photo URLs.

pids[i]=getTheString('photo id=');

I had to take down the images because the Flickr photos may not be licenced for derivative works...

Wednesday, 4 November 2009

Snap Happy Wedding Game

Well, after much consideration, I decided that allowing the customer to load any music file they already have on their hard drive was the only way I could see of avoiding copyrighting issues. Instead of displaying Lyrics the game will now display the details of the wedding and the names of the bridal group. This means the order form has grown a little but these things would be futher refined as the game is customised.

The copyright owners would have earned money every time a game was sold, but having to employ copyright lawyers whose fees can be over £100 an hour is not an option I would be willing to pursue right now. There is no way that applying for permission to use a different piece of music for every new order would be feasible. I could be waiting for months for a reply and the costs would be too high!

The Snappy Happenings web site has been updated and everything is now in place to receive orders. Anyone....?