Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 reference code for analytics API #14

Open
wonderfly opened this issue Jan 7, 2015 · 5 comments
Open

v3 reference code for analytics API #14

wonderfly opened this issue Jan 7, 2015 · 5 comments

Comments

@wonderfly
Copy link
Contributor

From [email protected] on February 13, 2012 06:46:37

My JS client application has stopped working due to the new auth changes. I tried to work on v3 documentation for analytics - but could not find any reference on JS client side to call feed data. when do you think it will be done?

Prasanna

Original issue: http://code.google.com/p/google-api-javascript-client/issues/detail?id=12

@wonderfly
Copy link
Contributor Author

From [email protected] on February 21, 2012 10:29:16

https://code.google.com/apis/explorer/#_s=analytics&_v=v3 has a live example with the method names. It's not exactly real documentation, but pretty worthwhile.

@wonderfly
Copy link
Contributor Author

From [email protected] on May 07, 2012 11:29:23

What is the auth issue you are experiencing?

The official analytics documentation can be found here: https://developers.google.com/analytics/devguides/

Status: Clarification

@wonderfly
Copy link
Contributor Author

From [email protected] on June 11, 2012 08:55:03

Hi

I have also just followed the most recent documentation and i cnnot seem to get auth success. Anyone have an answer to this?

@wonderfly
Copy link
Contributor Author

From [email protected] on August 02, 2012 09:48:23

Can you describe the error you are seeing? Is it a failed gapi.auth.authorize call?

Labels: Type-Defect Priority-Medium Milestone-GA

@wonderfly
Copy link
Contributor Author

From [email protected] on November 01, 2012 06:46:55

Personally I followed the hello-analytics-api for javascript tutorial ( https://developers.google.com/analytics/solutions/articles/hello-analytics-api ), and created an ID for a personal web site with analytics running.

The tutorial files (1x .html and 2x .js) are situated on my computer.

On OS X Safari when I try to open the test site the gapi.auth.authorize function fails with the error message :
"Failed to load resource: the server responded with a status of 400 (Bad Request)"

With a link to : https://accounts.google.com/o/oauth2/auth?client_id=<MyClientID_erased>.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fanalytics.readonly&immediate=true&redirect_uri=postmessage&origin=file%3A%2F%2F&proxy=oauth2relay308370252&response_type=token&state=218862277&authuser=0 I'm wondering if the problems lies with the origin parameter of the call set to "file://"?
How could I fix this?

The same page opened with Chrome creates an error too reported as :
"Unable to post message to file://. Recipient has origin null."
"(anonymous function)"

set in : " https://oauth.googleusercontent.com/gadgets/js/core:rpc:shindig.random:shindig.sha1.js?c=2 "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant