我尝试使用PHP中的
google api class从谷歌分析中获取数据.
我检查了serval google groups,发现大多数时候Curl关闭且SSL也关闭时出现错误,但我检查了PHPinfo()并且booth正在运行.任何人都知道它可能是什么?在我的本地服务器上它正在运行,但在Web服务器上它没有运行.
我检查了serval google groups,发现大多数时候Curl关闭且SSL也关闭时出现错误,但我检查了PHPinfo()并且booth正在运行.任何人都知道它可能是什么?在我的本地服务器上它正在运行,但在Web服务器上它没有运行.
<br /> <b>Fatal error</b>: Uncaught exception 'Exception' with message 'GAPI: Failed to authenticate user. Error: "Error=BadAuthentication Url=https://www.google.com/accounts/ServiceLogin?service=analytics#Email=mail Info=WebLoginrequired "' in /home/express/public_html/loggedIn/gapi.class.PHP:418 Stack trace: #0 /home/express/public_html/loggedIn/gapi.class.PHP(62): gapi->authenticateUser('mail','pw') #1 /home/express/public_html/loggedIn/request.PHP(10): gapi->__construct('mail','pw') #2 {main} thrown in <b >/home/express/public_html/loggedIn/gapi.class.PHP</b> on line <b>418</b><br />
因此,在浏览了更多群组后,一位朋友发现您需要在首次开始提取数据之前批准您的帐户
at this url
原文地址:https://www.jb51.cc/php/135871.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。