2015-01-26 128 views

回答

2

答:在auth_util.js,發現

function checkAuth() { gapi.auth.authorize({ client_id: clientId, 
scope: scopes, immediate: true}, handleAuthResult); } 

,改變truefalse

0

Hello Analytics API docs最近已更新。人們經常遇到的一些關鍵步驟是設置授權的JAVASCRIPT ORIGINS。如果您在本地計算機上的端口8080上測試應用程序,你應該登錄到開發者控制檯,這個值設置爲:

http://localhost:8080 
相關問題