简体   繁体   English

如何使用Google+ API访问Google+中的用户圈

[英]How To Access a User Circle in Google+ Using Google+ API

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+ API是否可以执行此操作。 Google has this endpoint for fetching people: Google有此端点可用于吸引人:

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! 提前致谢!

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. 无法查看某人/页面所在的圈子-Google反复声明,除了圈子所有者之外,任何人都不会也不会使用此信息。 All you can find out is who is in any circle that your application has been given access to. 您所能找到的就是在您的应用程序已被访问的任何圈子中的谁。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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