I'm currently using this class, which I find wonderful, due to its lightweight, but I'm having this issue while validating with Google.
Once the user is authenticated and the code is obtained from Google, method getUserProfile() doesn't return any information.
My google.php file is this (w/o personal keys, of course):
$oauth = new socialmedia_oauth_connect();
$oauth->client_id = "##########.apps.googleusercontent.com";
$oauth->client_secret = "XXXXXXXXXXXXXXXXXXXXXXXXXXX";
$oauth->scope="https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/plus.me https://www.google.com/m8/feeds";
$code = ($_REQUEST["code"]) ? ($_REQUEST["code"]) : "";
$oauth->code = $code;
$getData = json_decode($oauth->getUserProfile());
/* redirect here */
I'll be waiting for your answer, because I'm trying to use your superb work as soon as possible.
|2013-06-28 10:03:03 - In reply to message 1 from Gabby Tee|
Very sorry for delay response.
Still do you have facing the same issue or did you find any solution for this?
|2013-09-23 19:32:11 - In reply to message 2 from Giri Raj|
|Not working for me too.|
I have the same problem.
How can I fix this?