[Flashr] Flashr queue empty
Web Mail
webmail at digitalhue.com
Mon Nov 17 08:16:22 PST 2008
the userNsid would be replaced with the users Group Pool id number. when you click in a group it gives you the group ID that is what I am using.
Flickr has not reviewed the users Flickr site yet. Could it be that they don't release the XML until they are able to check the 5+ images?
I have used the same code before, I got the groupID in the same mannor as before and it has worked in the past. The same code works using other (established) Flickr accounts.
In My code I took out the userNsid and APIkey that's why you see userNsid in there. Sorry if I was not clear on that.
Raymond
----------------------------------------
From: "Kelvin Luck" <kelvin at kelvinluck.com>
Sent: Sunday, November 16, 2008 6:32 PM
To: flashr at osflash.org
Subject: Re: [Flashr] Flashr queue empty
Hi Ray,
The first parameter to groupsPoolsGetPhotos is a groupId:
http://flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/flashr/core/Flashr-as.html#com.kelvinluck.flashr.core.Flashr.groupsPoolsGetPhotos
In your code you are referring to it as userNsid... Are you expecting to get photos for a given user or for a given group?
What is the userNsid you are using? Then I can see if there is anything weird with that particular id...
Cheers,
Kelvin :)
On Sun, 16 Nov 2008 05:24:26 -0800, Web Mail wrote:
> I removed my Key and userNsid. I can get the same code to work for other Flickr members. The XML is not being sent from Flickr, I did have this same issue once before and after a while it started to work. So I am not sure if Flickr puts a hold on some functions.
>
> I am using the Group pool to get the image names and descriptions. Then pass that information using my _root.DisplayMyImg function. Which in my flash program I display the images.
>
> Thanks for the help
> Ray
>
> var apiKey:String = "Your Key";
> /**
> * Variable: userNsid
> * The NSID of the user whose photos you want to get
> **/
>
> var userNsid:String = "userNsid"
>
> /**var
> * Variable: _target
> * The MovieClip to attach the photo thumbnails to
> **/
> var _target:MovieClip;
>
> /**
> * Function: UserRecentPhotos
> * Constructor
> **/
> function UserRecentPhotos(target:MovieClip)
> {
> Stage.scaleMode = "noScale";
>
> // initalise logging to Flash's output window
> LogWrapper.getInstance().init();
> LogWrapper.getInstance().addTracePublisher();
>
> _target= target;
> var _flashr:Flashr = Flashr.getFlashr();
> _flashr.apiKey = apiKey;
> var _flashrResponse:FlashrResponse = new FlashrResponse();
> _flashrResponse.setSuppressOutput(true);
> _flashrResponse.onGroupsPoolsGetPhotos = Delegate.create(this, onGroupsPoolsGetPhotos)
> //_flashrResponse.onPhotosGetInfo = Delegate.create(this, onPhotosGetInfo)
> _flashr.groupsPoolsGetPhotos(userNsid, null, null, 500, 1, null);
> }
>
> public static function GetMyImages(photosArray) // builds Global arrays
> {
> var thisPhoto:Photo = Photo(photosArray[_global.eye]);
> var PhotoTitle = thisPhoto.title;
> var PhotoDes = thisPhoto.description;
> _root.DisplayMyImg(thisPhoto.mediumUrl, thisPhoto.PassImgFile, thisPhoto.PassImgName, PhotoTitle, PhotoDes, photosArray, thisPhoto.thumbnailUrl); //runs funcion in my Flickr image program and builds array You can trace this for results.
> }
>
>
>
> function onGroupsPoolsGetPhotos(p:Group):Void
> {
> var photosArray:Array = p.getPhotos();
> var userNsid1:String = p.nsid;
> GetMyImages(photosArray); //calls above function
> }
>
> /**
> * Function: main
> * Entrypoint to the application.
> **/
>
> public static function main():Void
> {
> var u:UserRecentPhotos = new UserRecentPhotos(_root);
> }
> /**
> * Function: toString
> **/
> public function toString():String
> {
> return //"[com.kelvinluck.tnmFlickr.UserRecentPhotos]";
> }
> }
>
> ----------------------------------------
>
> From: "Kelvin Luck"
> Sent: Saturday, November 15, 2008 7:12 PM
> To: flashr at osflash.org
> Subject: Re: [Flashr] Flashr queue empty
>
> Hi Raymond,
>
> I'm not sure I understand you. "Flashr queue empty" isn't an error it just means that there are no messages queued to be sent to flickr.
>
> What flashr methods are you calling? Can you post the code that you are using and then I may be able to help more,
>
> Thanks,
>
> Kelvin :)
>
> On Sat, 15 Nov 2008 13:20:46 -0800, Web Mail wrote:
>
>>
>>
>> When I sign up a friend to Flickr and I run my program I get this error "Flashr queue empty" I am guessing this happens because the account is new. I had this happen before with other new accounts. If this is the case that Flickr puts a delay on new accounts and you have to wait before it starts working do you know how long Flickr will make you wait? I know it works because If I change the userNsid to an account that has been active for a while it works. Any ideas?
>>
>>
>>
>> Thank you;
>>
>> Raymond
>>
>>
>>
>> __________________________________________________
>> D O T E A S Y - "Join the web hosting revolution!"
>> http://www.doteasy.com
>
> _______________________________________________
> Flashr mailing list
> Flashr at osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org
>
>
>
> __________________________________________________
> D O T E A S Y - "Join the web hosting revolution!"
> http://www.doteasy.com
_______________________________________________
Flashr mailing list
Flashr at osflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org
__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
http://www.doteasy.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/flashr_osflash.org/attachments/20081117/d15e85cf/attachment.html>
More information about the Flashr
mailing list