Code Monkey home page Code Monkey logo

as3flickrlib's People

Watchers

 avatar

as3flickrlib's Issues

Source in SVN and the compiled Zip not in sync

FlickrService.as in SVN uses a different end-point than the one in the
compiled Zip file (featured downloads). The end-point used in the SVN is
the correct one (api.flickr.com).

I blogged about it at
http://flexwinds.wordpress.com/2007/02/17/fixing-the-security-sandbox-errors-wit
h-as3-flickr-api/

Original issue reported on code.google.com by [email protected] on 20 Feb 2007 at 5:33

The peopleGetPublicPhotos event is misspelled

The peopleGetPublicPhotos event is misspelled in the FlickrResultEvent
class  - it's currently set as peopleetPublicPhotos.


Original issue reported on code.google.com by darron.schall on 13 Dec 2006 at 9:35

URLLoaderBase not found

FickrService extends URLLoaderBase but URLLoaderBase is not included in the
source files found in the repository.


Original issue reported on code.google.com by [email protected] on 21 Aug 2009 at 9:26

Month can be one-off in Interestingness search with Date param specified

What steps will reproduce the problem?
1. Specify a date in the month of October.
2. Do an Interestingness search.
3. It will create a date string like 2009-010-08

What is the expected output? What do you see instead?
I expect the date string to be 2009-10-08.

I believe the bug exists in this line of code:
http://code.google.com/p/as3flickrlib/source/browse/trunk/src/com/adobe/webapis/
flickr/methodgroups/Interestingness.as#106

It should compare month + 1 <= 9.

Original issue reported on code.google.com by [email protected] on 10 Oct 2009 at 12:30

Response null error handling

What steps will reproduce the problem?
1. Authenticate to Flickr
2. Get a transient network/proxy communication error

What is the expected output? What do you see instead?

Expected error handler, see flash error dialog instead.

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

Flash player WIN 10,0,12,36.  Flex 3.0.2.  Windows XP.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Apr 2009 at 5:50

Attachments:

New Flickr API Endpoint (crossdomain.xml)

Because of a security issue [1], the Flash cross-domain-policy file
(crossdomain.xml) has been moved from http://flickr.com/crossdomain.xml to
http://api.flickr.com/crossdomain.xml.

Please update the API end points accordingly, thanks:

Current:
/**
         * The REST endpoint where we can talk with Flickr service
         */
        public static const END_POINT:String = "http://flickr.com/services/rest/?";

        /**
         * The endpoint where we go for authentication
         */
        public static const AUTH_END_POINT:String =
"http://flickr.com/services/auth/?";

Updated:
/**
         * The REST endpoint where we can talk with Flickr service
         */
        public static const END_POINT:String =
"http://api.flickr.com/services/rest/?";

        /**
         * The endpoint where we go for authentication
         */
        public static const AUTH_END_POINT:String =
"http://api.flickr.com/services/auth/?";

Regards
Daniel


[1] http://www.petefreitag.com/item/595.cfm

Original issue reported on code.google.com by daniel.gasienica on 9 Jan 2007 at 9:25

Auth.checkToken() signing should be turned on

What steps will reproduce the problem?
1. Use Auth.checkToken(token)

What is the expected output? What do you see instead?
With a proper token the right credentials should be returned. Instead
checkToken now returns an error. 
The problem is the call to MethodGroupHelper.invokeMethod, the fourth
parameter (signing) should be set to true. Since the Flickr API wants you
to; http://www.flickr.com/services/api/flickr.auth.checkToken.html

Solution:
Change:
public function checkToken( token:String ):void {
// Let the Helper do the work to invoke the method
MethodGroupHelper.invokeMethod( _service, checkToken_result, 
"flickr.auth.checkToken", 
false,
new NameValuePair( "auth_token", token ) );
}

into:
public function checkToken( token:String ):void {
// Let the Helper do the work to invoke the method
MethodGroupHelper.invokeMethod( _service, checkToken_result, 
"flickr.auth.checkToken", 
true,
new NameValuePair( "auth_token", token ) );
}             

Original issue reported on code.google.com by [email protected] on 11 Apr 2008 at 11:19

Upload.as URL

What steps will reproduce the problem?
1. Attempting to upload and image using Upload.as.
2.
3.

What is the expected output? What do you see instead?
Expect the image to upload, but get a 404 on crossdomain.xml.

What version of the product are you using? On what operating system?
Flash CS3, Windows XP, Firefox.

Please provide any additional information below.
In "Upload.as" I had to change this:

private static const UPLOAD_DEST:String =
"http://www.flickr.com/services/upload/";

to this:

private static const UPLOAD_DEST:String =
"http://api.flickr.com/services/upload/";

Otherwise Flash seems to look for crossdomain.xml at www.flickr.com and
it's no longer there.


Original issue reported on code.google.com by [email protected] on 28 Jul 2008 at 8:54

Need to add constants / enums for Flickr permissions

We need to add a enum class with constants for Flickr permissions

read
write
delete

to make it easier to work with some of the auth apis.

Original issue reported on code.google.com by mikechambers on 21 Jun 2007 at 8:31

Auth.checkToken API call should be signed

What steps will reproduce the problem?
1. Call flickr.auth.checkToken with a valid token
2. See Flickr API response in Charles or similar HTTP debugger

What is the expected output? What do you see instead?
Should return true for valid tokens, but instead we get a 'Missing
Signature' error.

What version of the product are you using? On what operating system?
Version 0.86

Please provide any additional information below.
See http://www.flickr.com/services/api/flickr.auth.checkToken.html

Original issue reported on code.google.com by [email protected] on 10 Apr 2007 at 11:59

invalid date format in the Photos search method

In Photos.as:

In function  search() when it invokes MethodGroupHelper, the min_taken_date
and max_taken_date parameters should be in mysql datetime format, not
milliseconds as stated in the Flickr API docs. I had to tweak them to make
this work. 

A sample fix might look something like this:
=======================================================

var new_min_taken_date:String;
var new_max_taken_date:String;

if( min_taken_date != null )
{
    var _date:String  = min_taken_date.date.toString();
    var _month:String = String( min_taken_date.month + 1 );
    var _year:String  = min_taken_date.fullYear.toString();

    _date =  ( _date.length == 1 )  ? "0" + _date  : _date;
    _month = ( _month.length == 1 ) ? "0" + _month : _date;

    new_min_taken_date = _year + "-" + _month + "-" + _date + "
00:00:00";
}
if( max_taken_date != null )
{
    var _date:String  = max_taken_date.date.toString();
    var _month:String = String( max_taken_date.month + 1 );
    var _year:String  = max_taken_date.fullYear.toString();

    _date =  ( _date.length == 1 )  ? "0" + _date  : _date;
    _month = ( _month.length == 1 ) ? "0" + _month : _date;

    new_max_taken_date = _year + "-" + _month + "-" + _date + "
00:00:00";
}


And then replace the 2 lines in the invokeMethod call...

new NameValuePair( "min_taken_date", min_taken_date == null ? "" :
new_min_taken_date ),
new NameValuePair( "max_taken_date", max_taken_date == null ? "" :
new_max_taken_date ),

Original issue reported on code.google.com by darron.schall on 13 Dec 2006 at 9:36

Invalid Signature when trying to upload

I'm trying to use it to upload images to Flickr, but I am getting an error
code of 96 or Invalid Signature. I suspect it's because AS3's FileReference
class includes two extra variables "Upload" and "Filename" which trace out
if I send it to a php script.

More information here: http://bcdef.org/?p=22

Original issue reported on code.google.com by darron.schall on 13 Dec 2006 at 9:35

Optional parameters cannot be sent on instanceOfPhotosets.getPhotos()

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 [email protected] on 8 Aug 2007 at 5:04

Problems with e (expotentials) in flickr secret

When I receive a flickrsecret of an image e.g. "545545e263" this will
automatically be handeled as number and "e" as an expotential operator

"545545e263" turns into "5.45545000000000e+268" 
and "5.45545000000000e+268" is not to any use, the result is an url that is
wrong and a "http://l.yimg.com/g/images/photo_unavailable.gif" return.


Does anyone know how to solve this?? Reverse-engineering seems to be
impossible..

Thanks in advance

Original issue reported on code.google.com by [email protected] on 9 Oct 2009 at 3:32

New url for Flickr API version .85

What steps will reproduce the problem?
1. Attempting to make any Flickr call via the
com.adobe.webapis.flickr.FlickrService version .85 will fail due to
incorrect URLs.

Line 53 in FlickrService needs to be changed from:
  public static const END_POINT:String = "http://flickr.com/services/rest/?";

to:
  public static const END_POINT:String =
"http://api.flickr.com/services/rest/?";

and

Line 58 in FlickrService needs to be changed from:
  public static const AUTH_END_POINT:String =
"http://flickr.com/services/auth/?";

to:
  public static const AUTH_END_POINT:String =
"http://api.flickr.com/services/auth/?";

Original issue reported on code.google.com by [email protected] on 14 Mar 2007 at 12:21

FlickrResultEvent.data improperbly organized

From the Docs on the photosetsGetList Event. (Dispatched after calling 
serviceName.photosets.GetList())

"Broadcast as a result of the getList method being called The event 
contains the following properties success - Boolean indicating if the call 
was successful or not data - When success is true, an Array of PhotoSet 
instnaces When success is false, contains an "error" FlickrError instance"

However the Event.data object doesn't corectly hold an array with PhotoSet 
instances. Instead it holds an object instance. 

In order to get to the array you have to access the object with the 
correct property name which isn't defined anywhere. In the case of getList 
the propertyname is "photoSets". I spent a few hours debugging this.

My eventhandler:
protected function getSets(fre:FlickrResultEvent)
{
    var sets:Array;
    if(fre.success)
    {
        // Right
        sets = fre.data["photoSets"];
        //Wrong
        // sets = fre.data;
    }
}

Why the need to nest the data in an objectproperty? It makes no sens to 
me? I changed the my MethodGroupHandler like this:

Line 149:   //result.data = rsp.data;
Line 150:   result.data = rsp.data[propertyName];


Original issue reported on code.google.com by [email protected] on 22 Mar 2008 at 1:06

FlickrService.getLoginURL shouldn't take frob as argument

According to http://flickr.com/services/api/auth.howto.web.html, the frob
is obtained after the user is successfully logged in.
Is this API broken because of a change in Flickr authentication process?
If you guys think this is indeed a bug, assign to me and I will fix it.

Original issue reported on code.google.com by [email protected] on 21 Oct 2007 at 8:44

Media filter missing from photo requests

What steps will reproduce the problem?

+ Media type is inaccessible through several methods.  If you have a site,
say that does not allow movies, only photos, it is difficult today to
restrict the type.

What is the expected output? What do you see instead?

+ API calls return movies though I would like to restrict to just "photos".

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

+ Version 0.87 with photo farm and error handling mods.

Please provide any additional information below.

+ I though maybe by specifying extras="media" I could get around some
issues, but it turns out the Photo does not store the "media" field, anyhow
if I did request it.

+ So I modified the PhotoSets.getPhotos and Photos.getPhotosNotInSet
methods to allow you to pre-filter the media.  For photos just set to "photos".

+ This is good enough for my needs, if someone wants I could write up the
changes that would be necesssary to the MethodGroupHElper and base objects
to store the response media fields as well (say if you said "all" and
wanted to show both but indicate movie versus a photo differently).

Original issue reported on code.google.com by [email protected] on 11 Mar 2009 at 6:09

Attachments:

crossdomain problem...

Hi,

I get the following problem while i'm trying to connect to the FlickR
domain using my Flex application :

Error: [strict] Ignoring policy file at
http://api.flickr.com/crossdomain.xml due to missing Content-Type.  See
http://www.adobe.com/go/strict_policy_files to fix this problem.

I think the error is pretty understandable. So please update your
crossdomain file.

Thanks

Florian

Original issue reported on code.google.com by [email protected] on 7 Aug 2008 at 12:18

Error when receiving return data

What steps will reproduce the problem?
1. simply implement the example login script 

In the example script the following line :
var authResult:AuthResult = AuthResult( event.data );

fails, this is because the correct path to the AuthResult object is 
event.data.auth, not event.data 

Original issue reported on code.google.com by [email protected] on 25 Feb 2008 at 3:23

com.adobe.webapis.events.ServiceEvent file not in the archive

What steps will reproduce the problem?
1. ServiceEvent.as is not present in the archive..
2. com.adobe.webapis.URLLoaderBase.as is also not inthe archive..
3.

What is the expected output? What do you see instead?
1017: The definition of base class ServiceEvent was not found.
1017: The definition of base class URLLoaderBase was not found.

What version of the product are you using? On what operating system?
flickr-.87.zip---on Windows XP OS

Please provide any additional information below.

some of the files missing in the zipped archive..

Original issue reported on code.google.com by sarashar on 18 Feb 2008 at 7:38

Patch

* Added missing attribute `farm` for Photos object. 
* Added missing method Flickr.photos.delete (FlickrService.photos.remove
(photoID)). 
* Fixed CheckToken method - added missing signature.


Original issue reported on code.google.com by [email protected] on 30 Aug 2007 at 11:38

Attachments:

Wrapper Bug with PhotoSets Methode getList

The following Codes should demonstrate the problem:

public function listReady(e:FlickrResultEvent):void{
trace ("LISTREADY");
if (e.success == true){
//This should be the array containing the returned PhotoSet-Objects
var photoSets:Array = Array(e.data);
//but it is Object containing an Array containing PhotoSets
trace("photoSets" + photoSets[0]);
var object:Object = photoSets[0];
//But! These PhotoSets have no members and are arrays too?
var photoSets2:Array = Array(object.photoSets);
trace("photoSets2 " + photoSets2);
var photoSet1:Array = photoSets2[0];
trace("photoSet1:" + photoSet1);
//Here we get a valid Photoset
var validPhotoSet:PhotoSet = photoSet1[0];
trace("validPhotoSet" + validPhotoSet);
trace("id: " + validPhotoSet.id);
trace("title: " + validPhotoSet.title);
}else{
trace ("getList unsucessful");
}
} 

#####################Trace-Output###################################
LISTREADY
photoSets[object Object]
photoSets2 [object PhotoSet],[object PhotoSet]
photoSet1:[object PhotoSet],[object PhotoSet]
validPhotoSet[object PhotoSet]
id: 72157605323838287
title: windows


Original issue reported on code.google.com by [email protected] on 30 May 2008 at 1:50

Minor bug in Contacts.as

According to http://www.flickr.com/services/api/flickr.contacts.getList.html 
the function getList should have 3 default parameters. 

        public function getList( filter:String = "", page:Number = 1,
per_page:Number = 1000 ):void {
            // Let the Helper do the work to invoke the method          
            MethodGroupHelper.invokeMethod( _service, getList_result, 
                                            "flickr.contacts.getList", 
                                            false,
                                            new NameValuePair( "filter", filter ),
                                            new NameValuePair( "page", page.toString() ),
                                            new NameValuePair( "per_page", per_page.toString() ) );
}

Original issue reported on code.google.com by [email protected] on 13 Mar 2008 at 3:40

Building flickr.swc on Linux

What steps will reproduce the problem?
1. Sync the sources and build them on a Linux machine using ant.

What is the expected output? What do you see instead?
Build fails.

What version of the product are you using? On what operating system?
Latest version of the product on Linux.

Please provide any additional information below.
Steps to get flickr.swc built:
1. Remove the authorization folder from the sources.
2. Modify build.properties to fix flex2sdk.bin.dir, flex2sdk.lib.dir,
asdoc.exe, compc.exe, mxmlc.exe.
3. Add the following line in build.xml (for target name="lib")
 <arg line="-el '${flex2sdk.lib.dir}/player/10'" />
4. Now run ant.
3.

Original issue reported on code.google.com by [email protected] on 20 Apr 2009 at 9:13

Add support for photo upload

We need to add support for photo upload. I think this will only work in
Flash Player 9.1 (or Apollo), so we may need to do some detection and throw
an error if it is not supported on the player it is being run on.


Original issue reported on code.google.com by mikechambers on 19 Dec 2006 at 5:52

Farm is not parsed

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 [email protected] on 9 Jul 2008 at 7:44

Photo Location

Hi everybody,

How could we use set or get Photo Location in flickr flex API. 

I wonder if it's possible, cause i haven't see it in flex API doc...

Any solution? HELP!


Original issue reported on code.google.com by [email protected] on 31 Oct 2007 at 3:17

Missing "OriginalSecret" property when parsing photo

What steps will reproduce the problem?
1. For example, call photos.getInfo(id, secret)


What is the expected output? What do you see instead?
The Result data is a Photo object.  It should have the OriginalSecret
property populated, but it is null.


Please provide any additional information below.
Just need to add this line to
com.adobe.webapis.flickr.methodgroups.MethodGroupHelpers ...
photo.originalSecret = [email protected]();

Original issue reported on code.google.com by [email protected] on 12 Mar 2009 at 3:31

Missing farmId attribute in PhotoSet Class

Hello,

Besides Photo ID, Server ID and Secret etc. flickr also uses a Farm ID in
the URL of their photos. This issue has been fixed in the Photo class but
not the PhotoSet Class...

Necessary changes:
---------------------------
PhotoSet.as ( around line 66, add this line )
---------------------------
/**
 * The server farm id of the photo set
 *
 * @langversion ActionScript 3.0
 * @playerversion Flash 9.0
 * @tiptext
 */     
public var farmId:int;  
        public var farmId:int;



---------------------------
MethodGroupHelper.as ( in method parsePhotoSetList )
---------------------------

photoSet.farmId = parseInt( [email protected]() );


This worked for me. Please release a new binary with the new changes so
everyone can profit.

Thanks
Daniel

Original issue reported on code.google.com by daniel.gasienica on 15 Aug 2007 at 10:04

Return from getPublicGroups not mapping to PagedGroupList properly

What steps will reproduce the problem?
This is the code that should reproduce it -

// Get the user group list 
private function onGetdoGroups(event:Event):void
{
   service.addEventListener( 
FlickrResultEvent.PEOPLE_GET_PUBLIC_GROUPS,onPeopleGetPublicGroups);
   service.people.getPublicGroups( "53628484@N00" );
}

private function onPeopleGetPublicGroups(event:FlickrResultEvent):void
{
    if ( event.success ) {
        if (event.data.groups is PagedGroupList)  {
            TextDsp.text = "Flickr userid groups was found and paged group is fine  - "
            var list:PagedGroupList = PagedGroupList(event.data.groups);
            for each ( var p:Group in list.groups ) { 
                TextDsp.text = TextDsp.text + p.name + " - \n";
            }

        } else {
            TextDsp.text = "Flickr userid groups was found but not paged group returned ????  
- " + ObjectUtil.toString( event.data ) + "\n";
            for each ( var p:Group in event.data.groups ) { 
                TextDsp.text = TextDsp.text + p.name + " - \n";
            }
        }
    } else {
        Alert.show("Flickr userid groups not found.");
    }
}

What is the expected output? What do you see instead?

The event.data.groups should match a PagedGroupList.  however, it doesnot and 
instead shows 
as array. I can take the array and see that it contains elements of group, plus 
can traverse this 
looping through each elemenst as a Group.

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

I am runnign on osx.  took teh source from the svn to have the latest.

Please provide any additional information below.

Cant think of any :) 

Original issue reported on code.google.com by [email protected] on 11 Jan 2009 at 6:28

com.adobe.webapis.flickr.methodgroups.Photos search function does not accept multiple licenses

What steps will reproduce the problem?
1. make a call to photos.search setting the licenses param to a comma
seperated string, as specified in the flickr api documentation
2. a compile time error is thrown - the function expects a int

What is the expected output? What do you see instead?
We should be able to pass photos.search multiple license types, as
described in the flickr api

What version of the product are you using? On what operating system?
revision 37, osx

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Sep 2008 at 3:52

special character cause invalid signature

What steps will reproduce the problem?
1. One example would be to call people.findByUsername with a user name with
a special character (Flickr allows most any character in a username)
2.
3.

What is the expected output? What do you see instead?
Should return the user object, but you get an invalid signature

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


Please provide any additional information below.
Easy fix, just use encodeURIComponent to encode the value.. line 111 in
com.adobe.webapis.flickr.methodgroups


Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 11:31

problem loading flickr thumbnails when embeded in html

I made a flickr search using the api in actionscript 3.
Everything works fine, until i embed it in html.
From both my computer and the server it doesnt upload the thumbnails, even 
though the links 
work perfectly fine...
Any clue what the problem might be?
Thanks!
the link to the site is: 
http://ddm.caad.ed.ac.uk/mscpages/2008/s0896708/mashine/index.html

Original issue reported on code.google.com by [email protected] on 3 Mar 2009 at 7:53

People.getInfo doesn't return iconfarm (and User doesn't store iconfarm)

What steps will reproduce the problem?
1. Using People.getInfo

What is the expected output? What do you see instead?
You would expect to get the iconfarm number.
http://www.flickr.com/services/api/flickr.people.getInfo.html

What version of the product are you using? 
0.87

Please provide any additional information below.
The solution is simple.
Add an iconFarm getter and setter to User.
Add the following line to MethodGroupHelper
user.iconFarm = parseInt( xml.person.@iconfarm );

Original issue reported on code.google.com by [email protected] on 14 Apr 2008 at 6:44

group.iconServer always 0

What steps will reproduce the problem?
1. get flickrService.groups
2. run groups.getInof on particular one
3. iconServer attribute changes from null to 0 but never to the correct int

What is the expected output? What do you see instead?
the correct iconServer of the group

What version of the product are you using? On what operating system?
the newest. macosx 10.5.7 flex builder 3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Jul 2009 at 7:16

Tags not parsed on Photos.search

What steps will reproduce the problem?
1. search('', Text, 'any', '', null, null, null, null, -1, 'tags', 10, 1,
"relevance");   

What is the expected output? What do you see instead?
The tags is returned in Xml, the field is defined in the Photo class, but
parsePagedPhotoList in MethodGroupHelper does not parse them. 

This is probably also the case with other extra tags, such as machine_tags.

What version of the product are you using? On what operating system?
0.87

Original issue reported on code.google.com by [email protected] on 29 Oct 2008 at 12:31

invokeMethod adds too many blank / null params into the query.

What steps will reproduce the problem?
1. Using $flickrService.photos.search to perform a tag search.

var tags:String = $flashvars.tags || "seattle";
var sort:String = $flashvars.sort || "date-posted-desc";
var license:String = "1,2,3,4,5";

$flickrService.photos.search(null, tags, null, null, null, null, null,
null, license, sort);

2. Watch the request in firebug and notice there are a lot of blank params.
3. Response doesn't match the request.

What is the expected output? What do you see instead?

Expected: 

http://api.flickr.com/services/rest/?api_key=19f009910a77e59597766e606e5fb439&me
thod=flickr.photos.search&tags=zachgraves&license=1,2,3,4,5&sort=date-posted-des
c&per_page=100&page=1&


Actual result:

http://api.flickr.com/services/rest/?api_key=19f009910a77e59597766e606e5fb439&me
thod=flickr.photos.search&user_id=&tags=zachgraves&tag_mode=null&text=null&min_u
pload_date=&max_upload_date=&min_taken_date=&max_taken_date=&license=1,2,3,4,5&s
ort=date-posted-desc&privacy_filter=&bbox=&accuracy=&safe_search=&content_type=&
machine_tags=&machine_tag_mode=&group_id=&contacts=&woe_id=&place_id=&media=&has
_geo=&lat=&lon=&radius=&radius_units=&extras=&per_page=100&page=1&


What version of the product are you using? On what operating system?
r37, flash player 9.0.124.0, os x, firefox 3.0.3

Please provide any additional information below.

I fixed it by patching MethodGroupHelper.as, the diff is attached. 

(I also took the liberty to fix the extra & at the end of the query string.

Original issue reported on code.google.com by [email protected] on 4 Oct 2008 at 1:31

Attachments:

Bug with addPhotos and remotePhotos

I think that I found a little bug with the
com.adobe.webapis.flickr.methodgroups.PhotoSets.addPhotos and removePhotos
methods.  Flickr needs you to pass on the auth_token in your call.

If you add a "token" string parameter and then pass along the nameValuePair
of auth_token, it works beautifully.

com.adobe.webapis.flickr.methodgroups.PhotoSets Line 272

        public function addPhoto( photoset_id:String, photo_id:String,
token:String ):void {
            // Let the Helper do the work to invoke the method           
            MethodGroupHelper.invokeMethod( _service, addPhoto_result,
                                   "flickr.photosets.addPhoto",
                                   true,
                                   new NameValuePair( "photoset_id",
photoset_id ),
                                   new NameValuePair( "photo_id", photo_id ),
                                   new NameValuePair( "auth_token", token ) )
        }

Original issue reported on code.google.com by darron.schall on 13 Dec 2006 at 9:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.