flickr-net icon indicating copy to clipboard operation
flickr-net copied to clipboard

Getting not authorized when trying to get access token

Open raghavendrabankapur opened this issue 6 years ago • 2 comments

I am trying to generate access token using the below code

FlickrNet.Flickr f = new FlickrNet.Flickr(); f.ApiKey = "myappkey"; f.ApiSecret = "sharedsecret for app"; OAuthRequestToken token = f.OAuthGetRequestToken("test"); var accesstoken = f.OAuthGetAccessToken(token, "authorization code generated after authorization");

Am I missing something?

Tried the same values in the tests, still the same. Should I have to authorize anything else>

raghavendrabankapur avatar Aug 14 '18 11:08 raghavendrabankapur

@samjudson do we have any update for this ?

raghavendrabankapur avatar Aug 16 '18 02:08 raghavendrabankapur

"test" is not a valid option for the callback url. It should either be a real url, or "oob".

What error are you receiving?

samjudson avatar Aug 19 '18 19:08 samjudson