This project has moved. For the latest updates, please go here.

Having trouble understanding

Topics: Developer Forum
Jan 29, 2011 at 1:51 AM

I would like to use this library to work with my application and Flickr.

I need to create an object in my web application that handles my Flickr account interactions, I need to create a token for Flickr and authorize for write access and reuse that token until the user invalidates it.

I am trying to use the web app auth process, but I cannot figure out how to take it full circle.  I want to be able to generate a temp token, store that in the db, then create an auth url, and after the user is redirected back to my site, I want to replace my temp token with the real one.  However, the frob I get back does not match the temp one I setup, so I dont have any way to reference the account info in the db.

How do you guys handle this scenario?

Jan 29, 2011 at 10:09 AM

OK, figured this out myself..

I just ended up storing a reference to my flicker account wrapper class in the Session, then pulled it back out when I have the proper token.