googlearchive / gplus-quickstart-javascript

This quick-start app is built in JavaScript and lets you get started with the Google+ platform in a few minutes.
https://developers.google.com/+/quickstart/javascript
92 stars 111 forks source link

Failed to load resource: the server responded with a status of 403 (OK) #14

Closed fbukevin closed 8 years ago

fbukevin commented 8 years ago

I downloaded this example and changed all YOUR_CLIENT_ID with mine.

After I launched server and connect to my set url http://localhost:3456

I still failed to access my profile as following two screenshot.

2015-11-27 12 06 43 2015-11-27 12 06 58
gguuss commented 8 years ago

I just tested this on Chrome for OS X and didn't have any issues. Did you add http://localhost:3456 to your authorized JavaScript origins when setting up your OAuth 2.0 credentials?

gguuss commented 8 years ago

One more thing, have you enabled the Google+ API?

frank-carnovale commented 8 years ago

I also had that problem but the fix was indeed to enable the Google+ API.

gguuss commented 8 years ago

@fbukevin - were you able to resolve the problem? If so, please close the issue.

fbukevin commented 8 years ago

Sorry for missing reply. I fixed this problem, too. I also resolved it with enable the Google+ API. I only added a new credential in developer console originally.

Here is what the setup page looks like. 1

And enable here. 2