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...
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...