This project has moved and is read-only. For the latest updates, please go here.

Retrieve AccessToken

Topics: User Forum
Feb 27, 2013 at 5:42 AM
Currently what I do is store my accessToken.Token and accessToken.TokenSecret at Application State (HttpContext.Current.Application[Foo]). So this way, admin dont have to redo the callback url process back again.

I'm just wondering, is it a correct way to do this?

Is there a way to retrieve back my AccessToken, whereas that I have only my ApiKey and SharedSecret?
Mar 4, 2013 at 9:52 AM
Application state will be lost on average every 24 hours when IIS recycles the app pool.

Also, Application state is shared by all users. Are all users meant to be the 'same' Flickr user?

If you do not want the user to ever have to log in then simply store the token and secret in the config file after you have retrieved it once.

Mar 4, 2013 at 10:00 AM
Yes, all users are meant to use the same flickr account.

Thanks by the way for these great library.