flickcurl icon indicating copy to clipboard operation
flickcurl copied to clipboard

ERROR: Method flickr.oauth.request_token failed with error 0 - (null) (HTTP 401)

Open spoonstein opened this issue 10 years ago • 7 comments

When I call flickcurl oauth.create in 1.27 I'm getting the 401 error message. I'm not seeing the oauth_signature parameter in the request token debug_sbs response. Is 1.27 working correctly for oauth.create? If so, then I'll start digging into my config once again.

spoonstein avatar Sep 04 '14 01:09 spoonstein

I'm also having this problem, on 1.27. Not sure if the project is still in development since this is such an old unanswered comment, though.

windmark avatar May 04 '15 12:05 windmark

@windmark I think the project needs help. Unfortunately, I don't have a lot of knowledge or time to help out @dajobe. Wish I did. :(

spoonstein avatar May 21 '15 18:05 spoonstein

1.27 was not released yet so I'm not sure what is reported here. There have been no auth changes in the most recent commits.

Last time I checked, this was all working. You can compile flickcurl with extra debugging. I use:

./configure --enable-maintainer-mode --disable-static --disable-gtk-doc --enable-capture --enable-debug

then when you run calls, it'll write the requests to stdout/stderr and the response XMLs to a file in a local directory captured (you should mkdir captured first )

dajobe avatar May 21 '15 18:05 dajobe

Might be related to https://github.com/dajobe/flickcurl/issues/30 ?

dajobe avatar May 29 '15 05:05 dajobe

Any idea when this could be looked at? 1.25 and 1.26 give same error.

ikwyl6 avatar Oct 27 '15 03:10 ikwyl6

Current version works fine. If I quote the key and secret in conf file I was getting 401 with 1.26 though.

Pinhuer avatar Mar 22 '16 11:03 Pinhuer

Note if anybody is still getting this problem, please try again with a fresh .flickcurl.conf.

Even one wrong digit in .flickcurl.conf will cause the 401.

  1. Visit http://www.flickr.com/services/api/keys/ to get an <API Key> and <Shared Secret>.

  2. Create .flickcurl.conf in this format: [flickr] oauth_client_key=<Client key / API Key> oauth_client_secret=<Client secret / Shared Secret>

jidanni avatar Sep 15 '17 18:09 jidanni