I am trying to connect to the Flickr rest api's flickr.auth.getToken
method and it is not working. As far as I can tell it is because
zend_rtest_client is adding arg1 and rest to the query string. So it
produces this querystring:
method=flickr.auth.getToken&arg1=XXX&api_key=XXX&frob=YYY&api_sig=ZZZ&rest=1
when it should produce this:
method=flickr.auth.getToken&api_key=XXX&frob=YYY&api_sig=ZZZ
How do I get it to produce the second querystring and not the first? I
have tried sending the second querystring and I did get a token but
the first always complains about a bad signature. I assume it doesn't
like the extra vars since it works without them. I also don't
understand why it would insert anything that you don't tell it to.
This is my code:
$flickrObj->method('flickr.auth.getToken');
$flickrObj->api_key($api_key);
$flickrObj->frob($frob);
$flickrObj->api_sig($api_sig);
Mark
--
Have fun or die trying - but try not to actually die.