Using getBasicProfile (), google allows you to get basic profile data. Name, profile picture, email address. For example:
var profile = googleUser.getBasicProfile();
console.log("ID: " + profile.getId());
console.log("Name: " + profile.getName());
console.log("Image URL: " + profile.getImageUrl());
console.log("Email: " + profile.getEmail());
But what about other profile information, such as age, location or gender? Is it possible to get them, and if so, how? I know that since I have a Google+ account, I have a city in which I live and where I work. Can I ask our user to provide access to additional information, for example, the way Facebook allows? Or are we limited only to these basic details?
source
share