php - Google API login -


i try fetch data google analytics using google api class in php. checked serval google groups , found out error comes of time when curl off , ssl off too, checked in phpinfo() , booth running. idea be? on local server it's running, on webserver it's not running.

<br /> <b>fatal error</b>:  uncaught exception 'exception' message 'gapi: failed authenticate user. error: &quot;error=badauthentication url=https://www.google.com/accounts/servicelogin?service=analytics#email=mail info=webloginrequired &quot;' in /home/express/public_html/loggedin/gapi.class.php:418 stack trace: #0 /home/express/public_html/loggedin/gapi.class.php(62): gapi-&gt;authenticateuser('mail', 'pw') #1 /home/express/public_html/loggedin/request.php(10): gapi-&gt;__construct('mail', 'pw') #2 {main}   thrown in <b >/home/express/public_html/loggedin/gapi.class.php</b> on line <b>418</b><br /> 

enter image description here

so after browsing more groups, friend found out need approve account before start fetching data first time at url


Comments

Popular posts from this blog

python - cx_oracle unable to find Oracle Client -

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -