除了 Google Sign In 的默认信息之外,您还能如何获取更多信息?

Ome*_*hen 5 javascript api google-plus google-plus-signin google-signin

使用 getBasicProfile(),google 可以让我们获取基本的个人资料数据。姓名、个人资料图片、电子邮件。例如:

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());
Run Code Online (Sandbox Code Playgroud)

但是其他个人资料信息呢,比如年龄、位置或性别?是否有可能获得这些,如果有,如何获得?我知道,因为我有一个 Google+ 帐户,所以我知道我居住和工作的城市。我可以要求我们的用户授予访问更多信息的权限,例如,facebook 允许您使用的方式吗?还是我们仅限于这些基本细节?