Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
827 views
in Technique[技术] by (71.8m points)

oauth 2.0 - Gender via Google People API

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).

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.

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

Thank you

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...