20 August 2009

finding the farm

I've been playing with Adobe's Flickr library (link), and have been stumped in locating how to pull a pic's static farm id from a person's public photos list.

After too much time googling, searching, and reading documentation, I finally weeded thru the source to discover the library simply fails to record the farm id retrieved from flickr. Oops.

I have updated two of the Actionscript files to correct this:
http://adam.gimpert.com/docs/farmfix.zip

Two things needed to be added:
1. The Photo class needed a new property (farm), and
2. The parsePagedPhotoList method in MethodGroupHelper needed to record the farm id from each photo's xml.

Now I can build photos' static urls. Yay.

No comments: