douglashowe / as3flickrlib

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

Optional parameters cannot be sent on instanceOfPhotosets.getPhotos() #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I create an instace of Photosets and call the getPhotos() method, I'm
only allowed to pass the one required parameter (photoset_id). All of the
other optional parameters -- extras, privacy_filter, per_page, and page --
cannot be included in the getPhotos() function call.
A quick look at com.adobe.webapis.flickr.methodgroups.Photosets in your
repository showed me why.  getPhotos() only allows one possible
NameValuePair to be passed to your MethodGroupHelper.invokeMethod().
Could it be possible to allow the optional variables to be passed in and
assigned empty string values if they're not used?

Original issue reported on code.google.com by jcne...@gmail.com on 8 Aug 2007 at 5:04

GoogleCodeExporter commented 8 years ago
I don't know why they don't use a remote proxy instead?

Original comment by nekoupo...@gmail.com on 22 Aug 2007 at 10:23

GoogleCodeExporter commented 8 years ago
Confirmed. I'm working on adding support for the extra getPhotos parameters now.

Original comment by spjwebster@gmail.com on 2 Feb 2008 at 10:39

GoogleCodeExporter commented 8 years ago
Attached is a provisional patch for this issue. It should bring the
PhotoSets.getPhotos method in line with the Flickr API specified
athttp://www.flickr.com/services/api/flickr.photosets.getPhotos.html

I don't have time to test this at the moment, so I'm not committing this 
change. If
someone (either the OP or someone else) wants to test this patch for me and let 
me
know if it works, then I can go ahead and commit to HEAD.

Original comment by spjwebster@gmail.com on 2 Feb 2008 at 10:44

Attachments: