how to use OauthAccessToken in windows phone

Topics: Developer Forum, Project Management Forum, User Forum
Apr 2, 2012 at 5:06 AM

HI,

I am using flickrnet to login in flickr, and I have got the OauthAccessToken and save it.

But how can I use this OAuthAccessToken to use anthenticated method like:

public void PeopleGetPhotosAsync(
	Action<FlickrResult<PhotoCollection>> callback
)

Many thanks!
Coordinator
Apr 2, 2012 at 8:46 AM

Simply set the OAuthAccessToken and OAuthAccessTokenSecret properties before calling the method.

Flickr f = new Flickr(apiKey, sharedSecret);
f.OAuthAccessToken = token;
f.OAuthAccessTokenSecret = tokenSecret;

Sam

Apr 4, 2012 at 8:30 AM

thank you very much.!!!!!!