Will people.get method be affected by Google+ API deprecation?

别来无恙 提交于 2020-01-02 05:21:12

问题


I'm using the Google People API to get user account info (only for the user who authorized via gmail sign in using the Gmail API) from a Node JS client. I want to make sure that the people.get method I use won't be affected by the shutdown of Google+ and it's APIs.

This is an excerpt from the email that Google sent on 12/20/18 notifying developers of the shutdown:

"Note: If you see calls to people.get, these can be the result of using the Google+ Sign-In feature in your application, which is now fully deprecated and is being shut down. Developers should migrate from the Google+ Sign-In feature to the more comprehensive Google Sign-in authentication system."

As stated above, I am using the People API to call people.get but it's unclear to me whether or not this will be affected by the Google+ deprecation.


回答1:


If you're using the people.get API documented at https://developers.google.com/people/api/rest/v1/people/get, then you're fine. This API is not impacted by the Google+ API shutdown.

If you're using the people.get API documented at https://developers.google.com/+/web/api/rest/latest/people/get, then you will need to migrate to a different API.



来源:https://stackoverflow.com/questions/53938514/will-people-get-method-be-affected-by-google-api-deprecation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!