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

Analytics example #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I have downloaded the latest version and trying to make the Analytics API 
example provided to work, unfortunately no positive results so far.

This is the error I am getting:

Fatal error: Argument 1 passed to apiServiceRequest::__construct() must not be 
null, called in /google-api-php-client/src/service/apiServiceResource.php and 
defined in /google-api-php-client/src/service/apiServiceRequest.php on line 50 

I added my own ClientID, secret Key, RedirectURI and dev key.

Thanks for your help.

Original issue reported on code.google.com by matias_s...@hotmail.com on 4 Jan 2012 at 12:10

GoogleCodeExporter commented 9 years ago
Hey Matias,

Did you check out the latest version from trunk?

Original comment by chirags@google.com on 4 Jan 2012 at 5:01

GoogleCodeExporter commented 9 years ago
Based on the line numbers, it looks like you're using an older version. Try the 
latest version from here 
http://code.google.com/p/google-api-php-client/source/checkout

Original comment by chirags@google.com on 6 Jan 2012 at 4:34