简体   繁体   中英

How to get the Google account ID from a Google+ vanity URL

Google+ API did shut down. Google People API can be used instead, using the same account IDs. However, People API does not accept names from Google+ vanity URLs. How can I get the account ID from a Google+ vanity URL, now that I can't use Google+ API for this task anymore?

  • Go to https://developers.google.com/+/web/api/rest/latest/people/get
  • On the right-hand side in the Try this API section, in "userId" enter "me"
  • Press the Execute button
  • If not already logged in log in with your Google account
  • After a successful login, an HTTP 200 result is shown
  • Below an "id" entry is shown

source

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