0

我遵循了该示例: https ://developers.google.com/identity/sign-in/web/people

并可以成功登录谷歌。我可以检索这些数据:

profile.getId(), 
profile.getName(), 
profile.getGivenName(),
profile.getEmail(),
profile.getImageUrl()

但是..我怎样才能检索用户的性别?

4

1 回答 1

-1

您可以使用检索性别 Google.Apis.Oauth2.v2.Data.Userinfoplus.Gender

更多信息请点击这里

于 2016-06-14T23:57:39.307 回答