Hi,
if I try to get a Session Token from google the server doesn't respond..
The code that I use is this:
$ch = curl_init("https://www.google.com/accounts/AuthSubSessionToken");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FAILONERROR, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: AuthSub token="' . trim($token) . '"'
));
$result = curl_exec($ch);
curl_close($ch);
$splitStr = split("=", $result);
return trim($splitStr[1]);
but the server doesn't respond..No error code..nothing of nothing.. :(
The token that I take from https://www.google.com/accounts/AuthSubRequest is
correct because I can use it as Single-use token..
--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html