anuj607 / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Error fetching OAuth2 access token, message: '' in apiOAuth2.php:105 #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Picked Google plus sample found at 
http://code.google.com/p/google-api-php-client/
2. Fixed cURL issues under Win32 as stated in 
http://richardwarrender.com/2007/05/the-secret-to-curl-in-php-on-windows/
3. Connect, then authorize.

What is the expected output? What do you see instead?
I guess that $plus->activities->listActivities('me', 'public') array.

Instead I get:
Fatal error: Uncaught exception 'apiAuthException' with message 'Error fetching 
OAuth2 access token, message: ''' in 
F:\whatever\google-api-php-client\src\auth\apiOAuth2.php:105 

What version of the product are you using? On what operating system?
PHP 5.3.8 on Win32, cURL 7.21.2 

Please provide any additional information below.
Getting the same error with Calendar API PHP sample.

Original issue reported on code.google.com by ortizto...@gmail.com on 16 Feb 2012 at 5:31

GoogleCodeExporter commented 9 years ago
Hey Ortiztorre,

Was it working before?  Are you seeing any other error messages in the logs, or 
anything after "message:"?

Original comment by chirags@google.com on 16 Feb 2012 at 5:48

GoogleCodeExporter commented 9 years ago
Never worked for me before, sorry, this is my first test.

Original comment by ortizto...@gmail.com on 17 Feb 2012 at 8:50

GoogleCodeExporter commented 9 years ago
Plus client should be working now, let us know if further problems!

Original comment by ianbar...@google.com on 22 Mar 2013 at 1:49