4

我正在尝试从 Google 帐户中检索性别和生日。我正在通过执行以下操作在 Google Playground ( https://developers.google.com/oauthplayground/ ) 中尝试:

我授权所有 Google OAuth2 API V2 范围(https://www.googleapis.com/auth/plus.loginhttps://www.googleapis.com/auth/plus.mehttps://www.googleapis.com /auth/userinfo.emailhttps://www.googleapis.com/auth/userinfo.profile)。然后我生成访问令牌,最后我向https://www.googleapis.com/userinfo/v2/me发出请求。

我得到的信息是:family_namenamepicturelocaleemailgiven_nameidverify_email。我尝试了很多事情,但我无法获得性别或生日。

注意:我使用的帐户的性别和生日都标记为公开(在https://aboutme.google.com中检查)

4

0 回答 0