I had already made the change you suggest (having seen it on the wiki) to no effect. Note also that for that code to even start to work you must:

  - create an instance of FlickrService
  - assign it your api_key
  - assign it your shared secret

None of which is mentioned in the sample code =) Then at leas you get a frob back after which the getAuthToken function fails with an unknown error....

??

These libraries look sooooooo promising and clearly a lot of work went into them. If only we had some better samples/examples, I think they'd get a lot of use!

Thanks for the pointer to Keaura, that seems to work great.

cheers, ethan

The sample code here:
http://code.google.com/p/as3flickrlib/wiki/LoginProcess

is fine for the most part.

Just replace the following line:
var authResult:AuthResult = AuthResult( event.data );

With:
var authResult:AuthResult = AuthResult( event.data.auth );

And it will work.

Also, for some sample code, you can start here:
http://www.keaura.com/photosearch/

It does NOT use the as3flickrlib, but I believe it is a precursor to
that library. Changing that code to use the as3flickrlib is trivial
after you figure out what it's doing!

--- In flexcoders@yahoogroups.com, "Ethan Miller" <[EMAIL PROTECTED]>
wrote:
>
> Greetings -
>
> Have been trying to use the Flickr AS3 libraries on labs.adobe.com
(now hosted on Google
> Code) and seem to be hitting the same early roadblocks that many
have, ie at the get
> authorization token area of things.
>
> Has anyone gotten past this, or have alternate code/samples etc.
>
> Note that if anyone needs even earlier help, regarding the api_key
and shared secret, lemme
> know as I've gotten at least that far.
>
> cheers, ethan
>




Reply via email to