sst89 / as3flickrlib

Automatically exported from code.google.com/p/as3flickrlib
0 stars 0 forks source link

Farm is not parsed #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Any call that returns photos

What is the expected output? What do you see instead?
The farm id is not being parsed for some reason.

What version of the product are you using? On what operating system?
The latest.

Please provide any additional information below.
In order to from urls, as detailed in Flickr's API documentation:
http://www.flickr.com/services/api/misc.urls.html

You have to parse the farm id into the Photo value object, which I
confirmed is being passed in the XML by tracing rsp in
MethodGroupHelper.processResponse.

Original issue reported on code.google.com by stevensa...@gmail.com on 9 Jul 2008 at 7:44

GoogleCodeExporter commented 8 years ago
Duplicate of #23

Original comment by stevensa...@gmail.com on 9 Jul 2008 at 7:45

GoogleCodeExporter commented 8 years ago
If you can list specific APIs where the farm id is not being parsed, then I can 
fix them.

I have already fixed a couple in source.

Original comment by mikechambers on 26 Aug 2008 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by mikechambers on 26 Aug 2008 at 5:24

GoogleCodeExporter commented 8 years ago
The farm attribute is required to form the URL for any image on Flickr.  Every 
single
API method that returns a Photo has a farm attribute that was not being parsed.

It only took me about 5 minutes to make the change to all the various API 
calls.  I
just searched for an instantiation of a new Photo value object and added the 
farm
attribute parsing.

Original comment by stevensa...@gmail.com on 26 Aug 2008 at 5:56

GoogleCodeExporter commented 8 years ago
If you have already gone through and found the info, can you post it here, or 
submit a patch?

thanks...

Original comment by mikechambers on 26 Aug 2008 at 7:28

GoogleCodeExporter commented 8 years ago
Hi. Here is a proposed patch.
In r37, the farm is not parsed when retrieving photo set information.

Thanks!

Original comment by ron...@gmail.com on 16 Sep 2008 at 8:05

Attachments:

GoogleCodeExporter commented 8 years ago
I just had to fix up version 0.87 myself to get the FarmId.

I changed Photo.as to have private var _farmId:String;, as well as a 
getter/setter.

Then updated the method parsePagedPhotoList in MethodGroupHelper.as with 
photo.farmId
= p.@farm.toString();

Original comment by flens...@gmail.com on 27 Oct 2008 at 3:54

GoogleCodeExporter commented 8 years ago
just wondering why this hasn't been added to the latest version yet...

Original comment by thomas.p...@gmail.com on 30 Sep 2009 at 3:38

GoogleCodeExporter commented 8 years ago
I've updated the .as files manually and still can't seem to pull the farmId 
data. I'm
using the flickr.photos.getInfo method.

Original comment by countera...@gmail.com on 19 Jan 2010 at 9:08