dajobe / flickcurl

Flickr C API library

Home Page:http://librdf.org/flickcurl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

photosets.addPhoto and photosets.create fail with HTTP 401

drinkcat opened this issue · comments

I'm having problems with many commands related to photosets:
$ flickcurl photosets.addPhoto 72157633619525629 8802172371 flickcurl: ERROR: Method flickr.photosets.addPhoto failed with error 0 - (null) (HTTP 401) flickcurl: Command photosets.addPhoto failed $ flickcurl photosets.create 'Test' 'Text' 8802172371 flickcurl: ERROR: Method flickr.photosets.create failed with error 0 - (null) (HTTP 401) flickcurl: Command photosets.create failed

Others seems to work, though:
$ flickcurl photosets.getInfo 72157633619525629 flickcurl: Found photoset with ID 72157633619525629 primary photo: '8801886801' secret: XXXX server: 8395 farm: 9 photos count: 1 title: 'new set d' description: '(No description)'

Any idea what is wrong? I can upload pictures fine, but this part always fails...

Using the latest version:
$ flickcurl Flickr API utility 1.24

Thank you.

Confirmed, there is a bug in OAuth with create/modify operations that do a POST

Works fine in latest git (at least for the 2 commands above), thanks for the fix.