flickcurl
flickcurl copied to clipboard
ERROR: Method flickr.oauth.request_token failed with error 0 - (null) (HTTP 401)
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.
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 I think the project needs help. Unfortunately, I don't have a lot of knowledge or time to help out @dajobe. Wish I did. :(
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 )
Might be related to https://github.com/dajobe/flickcurl/issues/30 ?
Any idea when this could be looked at? 1.25 and 1.26 give same error.
Current version works fine. If I quote the key and secret in conf file I was getting 401 with 1.26 though.
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.
-
Visit http://www.flickr.com/services/api/keys/ to get an <API Key> and <Shared Secret>.
-
Create .flickcurl.conf in this format: [flickr] oauth_client_key=<Client key / API Key> oauth_client_secret=<Client secret / Shared Secret>