首页 > 解决方案 > Google + API 已弃用

问题描述

以下 API 的这些列表是否也已弃用?

https://www.googleapis.com/auth/userinfo.profile

https://www.googleapis.com/auth/contacts

https://www.googleapis.com/auth/contacts.readonly

https://www.googleapis.com/auth/userinfo.email

https://www.googleapis.com/auth/profile.agerange.read

https://www.googleapis.com/auth/profile.language.read

https://www.googleapis.com/auth/user.addresses.read

https://www.googleapis.com/auth/user.birthday.read

https://www.googleapis.com/auth/user.phonenumbers.read

https://www.googleapis.com/auth/user.emails.read

标签: oauthgoogle-apigoogle-oauthgoogle-plus

解决方案


那些不是 api,它们是范围,不,它们没有被弃用。这些范围将继续与他们设计使用的 API 一起工作。

注意:范围定义在授权过程中授予对给定 API 的访问权限的范围。使用 api 时,您对该 api 的访问仅限于您在对用户进行身份验证和授权时请求的范围授予的权限。

实际上已弃用的内容

被关闭的最常用 API 包括:

  • 谷歌+ REST API
  • Google+ 网络 API
  • 谷歌+安卓 SDK
  • Google+ 域 API
  • Google+ 信息页 API

作为这些更改的一部分:

  • 从 3 月 7 日开始,所有范围以“加号”开头的 OAuth 令牌请求。(即“plus.me”、“plus.login”、“plus.profile.emails.read”等)将根据请求失败,最早可能在 2019 年 2 月 15 日开始间歇性失败。
  • Google+ 登录功能已完全弃用,也将于 2019 年 3 月 7 日关闭。开发者应迁移到更全面的 Google 登录身份验证系统。
  • 空中安装现已弃用并已关闭。

您可以在此处阅读有关弃用的所有信息Google+ API Shutdown


推荐阅读