NgKhanh / 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: invalid_client in analytics simple example #267

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Modify 
http://code.google.com/p/google-api-php-client/source/browse/trunk/examples/anal
ytics/simple.php and enter your clientId, clientSecret, redirectUri and 
developer Key
2. Navigate to examples/analytics/simple.php in your browser and click "Connect 
me"

What is the expected output? What do you see instead?
I get an "Error: invalid_client"

What version of the product are you using? On what operating system?
I tried this on Windows 7 and OS X 10.8 with PHP 5.3.15

Please provide any additional information below.
I have tried recreating all client IDs and simple API access accounts. I 
triple-checked all access information and tried a few other example files - no 
success.

Original issue reported on code.google.com by siyan.gt...@gmail.com on 14 Feb 2013 at 3:34

GoogleCodeExporter commented 8 years ago
Did you uncomment those client ID etc. lines as well as add in your details?

Original comment by ianbar...@google.com on 22 Mar 2013 at 6:08

GoogleCodeExporter commented 8 years ago
This issue tracker is now closing. Development on the Google PHP client library 
moved to GitHub with the release of the 1.0.0-alpha, and now the 1.0 branch has 
reached beta status there will be no further releases of the 0.6 branch of the 
library. 

Please take a look at the latest version on 
https://github.com/google/google-api-php-client

For information on migrating, please take a look at this guide: 
https://developers.google.com/api-client-library/php/guide/migration

For general library support please ask a question on StackOverflow: 
http://stackoverflow.com/questions/tagged/google-api-php-client

If you are looking for support with a specific API, please contact the team 
working with that API via StackOverflow or their preferred support mechanism. 

If your issue still exists with the new version of the library, please raise a 
bug in the GitHub issue tracker with a minimal code sample. 

Thanks!

Original comment by ianbar...@google.com on 22 Jan 2014 at 4:53