我已经将Google Sign-In集成到我的应用程序中。我可以得到用户的Email和DisplayName。现在,我想获得用户的Birthdate和Gender。我已经将所有必需的requests Scopes 添加到 GoogleApiClient 中,所有这些都是由API授予的。Sign-In API and the }
}
console.log(res.additionalUserInfo.profile['id']); .get("https://people.googleapis.com/v1/people/"+res.additionalUserInfo.profile['id']+"?key=(a valid api key)&personFields=birthdays,