简体   繁体   中英

Does anyone know how to get Google+ user's home/work address(not email) from Google API?

Currently we retrive user's profile by people.get API, and scopes are profile email https://www.googleapis.com/auth/plus.login .

But no matter user sets their home/work address as public, we still can't get address from reponse.

Did I use the wrong API or scopes?

As documented for scopes.

  • email gives access to "the user's Google account email address."

  • https://www.googleapis.com/auth/plus.profile.emails.read gives access to "the user's Google account email address, as well as any public, verified email addresses in the user's Google+ profile."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM