How To Access a User Circle in Google+ Using Google+ API

六眼飞鱼酱① 提交于 2020-01-14 04:23:12

问题


I am trying to access/or check to see if a user has a certain page in his/her circle. I don't know for sure if there is a way to do that with the current Google+ API. Google has this endpoint for fetching people:

GET https://www.googleapis.com/plus/v1/people/userId/people/collection
//which you replace with either:

GET https://www.googleapis.com/plus/v1/people/me/people/visible or
GET https://www.googleapis.com/plus/v1/people/me/people/connected

It seems these are the only closest endpoints for me. Is there a way to achieve this? I already ask the user to let grant the app permissions to see her circles and the people in them but how do I get to see the exact circle like Following?

If anyone has an idea, please help me with this problem!

Thanks in advance!


回答1:


There is no way to see what circle a person/page is in - Google has repeatedly stated that this information is not, and will not, be made available to anyone except the circle owner. All you can find out is who is in any circle that your application has been given access to.



来源:https://stackoverflow.com/questions/22155976/how-to-access-a-user-circle-in-google-using-google-api

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