[Flashr] only one request at a time?
Kelvin Luck
kelvin at kelvinluck.com
Wed Aug 30 12:38:09 EDT 2006
H. S. wrote:
> Unfortunately I get only a single onPhotosGetSizes (for
> ResultsSet.photos[0]) and the others keep missing out
>
Hi,
The problem is because Flashr 0.4 didn't include a queue and would only
accept one request at a time. So using 0.4 it is your responsibility to
only call one flickr api method at a time.
If you initialise logging with these two lines:
LogWrapper.getInstance().init();
LogWrapper.getLog().addPublisher(new TracePublisher());
At the start of your application you will see useful errors telling you
when you have tried to call a method without waiting for the previous
method to complete.
However, my advice to you would be to forget about Flashr 0.4. I've been
working on 0.5 today and am getting close to finally releasing it. It is
a lot better than 0.4 so if you can wait for a while then you will be
better off waiting until 0.5 is released and using that... I've just got
to add in the new geo API methods and then it's pretty much good to go!
Cheers,
Kelvin
More information about the Flashr
mailing list