通过 Google People API 确定性别 [英] Gender via Google People API

查看:23
本文介绍了通过 Google People API 确定性别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Google People API,我在通过 https://获取性别信息时遇到问题people.googleapis.com/v1/people/me 和正确的 access_token(正确,因为它会影响昵称和语言环境等信息是否出现).

Using Google People API, I'm having problems getting information about gender via https://people.googleapis.com/v1/people/me and correct access_token (it is correct because it influences whether information like nickname and locale appear).

我要求范围个人资料电子邮件 openid".

I am asking for scope "profile email openid".

我可以获取性别,但仅适用于公开该信息的用户,而不是那些填写了该信息的用户,而是设置为私人的,这违背了要求私人资料信息的目的.

I can get a gender, but only for users who made that information public, but not from those who do have it filled, but set as private, which kind of defeats the purpose of asking for private profile information.

有没有办法通过 Google API 和范围的任意组合来获取私人性别?

Is there a way to get private gender via any combination of Google API and scope?

谢谢

推荐答案

抱歉,没有返回私人性别信息的范围.

Sorry, there are no scopes that return private gender information.

这篇关于通过 Google People API 确定性别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆