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

Retrieving data #2

Open
YairHadari opened this issue Jul 14, 2014 · 1 comment
Open

Retrieving data #2

YairHadari opened this issue Jul 14, 2014 · 1 comment

Comments

@YairHadari
Copy link

Hi,

I would like to thank the author for his huge contribution to the community - Thanks.
In addition, I would like to know how can I retrieve data from Google after the login (Username, Email etc...)

Regards,
Yair

@jorgejeferson
Copy link
Contributor

Sorry for the delay, I can not helped is more, but you can recover through the object "response" function "done"

googleapi.getToken({
client_id: GooglePlus.client_id,
client_secret: GooglePlus.client_secret
}).then(function(data) {
return googleapi.userInfo({ access_token: data.access_token });
}).done(function(response) {
console.log(response.name);
});

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

No branches or pull requests

2 participants