hi,
Thanks for the info. I have written code to request token and got the
token and also i authorized it. But when i tried to access token, i
get invalid auth signature.
Here is my code:
$users = new Hyves_API_Method("auth.accesstoken");
$users->addParam("oauth_token","XXXXXXXXXXXXXXXXXXXXXXXX");
$users->addParam("strict_oauth_spec_response","true");
//$users->responseFields("userid");
$json = $users->getJSON();
if ($users->isValid()) {
echo "<pre>".print_r($json,true)."</pre>";
} else {
echo "<pre>".print_r($users->getErrors(),true)."</pre>";
}
but i didnt mention the auth signature here but how i get the error.
If i tried to assign the auth signature i generated i get parameter
declared more than once. So wat can i do now?
Thanks..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---