haskell flickr bindings: "invalid signature" when uploading

I've mailed the maintainer of the flickr api package but thought I would see if other people had this experience too. Google doesn't reveal many people using this package as far as I can tell. In short, authentication works fine but uploading images fails with this message. This happens with the included examples/Uploader.hs as well as my own code. toRequest: POST request contains 1 files; unable to represent as query string Defaulting to multiform/form-data instead Flickr error: Code: 96 Type: Flickr API error Details: Invalid signature I haven't had a chance to dive deeper into this yet, but any advice gratefully received. Cheers, D -- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net

On 10 Dec 2010, at 12:39 PM, Dougal Stanton
I've mailed the maintainer of the flickr api package but thought I would see if other people had this experience too. Google doesn't reveal many people using this package as far as I can tell.
In short, authentication works fine but uploading images fails with this message. This happens with the included examples/Uploader.hs as well as my own code.
toRequest: POST request contains 1 files; unable to represent as query string Defaulting to multiform/form-data instead Flickr error:
Code: 96 Type: Flickr API error Details: Invalid signature
I haven't had a chance to dive deeper into this yet, but any advice gratefully received.
Cheers,
D -- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net
That wouldn't surprise me - I have a suspicion the Flickr API has changed since hs-flickr was released - certainly there are issues with things like getting full comment information out, for which I've made some mods within a local copy of hs-flickr, with a mind to push them sometime. Stuart Dootson

Yes, that seems to be the reasonable assumption though I can't find
any good changelogs for the api. Further investigation will have to
wait until after the weekend :-)
Cheers,
D
On Fri, Dec 10, 2010 at 12:51 PM, Stuart Dootson
On 10 Dec 2010, at 12:39 PM, Dougal Stanton
wrote: I've mailed the maintainer of the flickr api package but thought I would see if other people had this experience too. Google doesn't reveal many people using this package as far as I can tell.
In short, authentication works fine but uploading images fails with this message. This happens with the included examples/Uploader.hs as well as my own code.
toRequest: POST request contains 1 files; unable to represent as query string Defaulting to multiform/form-data instead Flickr error:
Code: 96 Type: Flickr API error Details: Invalid signature
I haven't had a chance to dive deeper into this yet, but any advice gratefully received.
Cheers,
D -- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net
That wouldn't surprise me - I have a suspicion the Flickr API has changed since hs-flickr was released - certainly there are issues with things like getting full comment information out, for which I've made some mods within a local copy of hs-flickr, with a mind to push them sometime.
Stuart Dootson
-- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net
participants (2)
-
Dougal Stanton
-
Stuart Dootson