Hi, i want to use the new authentication api but got a problem with flickr.auth.getFrob. I generate the api_sign (data from example: "non-web based app") with ...
Jens Strobel
kelloggz@...
Jul 22, 2005 7:16 pm
... ^^^^^^^^^ I am assuming foobarbaz is your Secret, right? So you have two pieces of info you're passing: method=flickr.auth.getFrob&api_key=987654321 I...
... Damn, copied the wrong example. On my last test i have sorted the params and hat dots in the method name. Didn't work.. <?php echo...
Jens Strobel
kelloggz@...
Jul 22, 2005 8:25 pm
the signature generated *should* be different. but maybe i'm misunderstanding your question. also you don't have the argument *values* in your example, but i...
... This is the correct MD5 hash for that string. ... Maybe they just fabricated this number? I dunno. When I make my hash for the sig, I definitely do it the...
yeah must be fabricated. just got a frob (making sure this time to put the periods in the method call name ;) ... -- Jon Madison http://www.smartbrother.org If...
... Sorry but i didn't understand what you mean....
Jens Strobel
kelloggz@...
Jul 22, 2005 9:54 pm
i mean like Beej says, the value they give in the documentation must be fabricated. i just used my real credentials, and got back a frob. j. ... -- Jon Madison...
... I haved used my real credentials too, but i didn't worked :( You make the md5 over secret, the api_key and method? Strange. Hmmmm, i will check my app...
Jens Strobel
kelloggz@...
Jul 22, 2005 10:21 pm
here's some code i cooked up to test the same: i've tried it more than a few times and it works fine for me: === <?php error_reporting(E_ALL); $secret =...
and thanks for bringing up the issue--i needed to write this anyway & had been putting it off. :) j. ... -- Jon Madison http://www.smartbrother.org If i don't...
Hi again, thanks for the example, but it didn't work here, i get: <rsp stat="fail"> <err code="96" msg="Invalid signature"/> </rsp> Ok now from the beginning...
Jens Strobel
kelloggz@...
Jul 25, 2005 8:25 am
Okay, now, after looking into it, i have the solution. It was my fault :( By the way, i thought it is my fault the whole time ;-) I have didn't set the secret...
Jens Strobel
kelloggz@...
Jul 26, 2005 12:40 pm
... I think it shouldn't be different when i am using the same data as in example on: http://www.flickr.com/services/api/auth.spec.html "9.2. Non-web based...
Jens Strobel
kelloggz@...
Jul 22, 2005 9:07 pm
ahhh, got you. i mistook the foobarbaz as the arguments, and not the secret, as described in their docs. j. ... -- Jon Madison http://www.smartbrother.org If i...
just sent a request with my real details and also got "invalid signature". not quite sure if api_key should be part of the hash or what, although even removing...