google+ api 人的朋友 [英] google+ api person's friends

查看:33
本文介绍了google+ api 人的朋友的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试制作一个基于 google+ api 的网站.我刚开始研究 api,似乎他们没有像 facebook 那样提取一个人的圈子和朋友的方法.api 实际上非常小,我想确保我没有遗漏任何东西.有没有人使用过 google+ api 并从用户的个人资料中提取朋友信息.

I am trying to make a website based on google+ api. I just started looking into the api and it seems they dont have a method to extract a person's circles and friends as facebook does. The api is actually pretty minimal and I wanted to make sure I didnt miss anything. So has anyone used the google+ api and extracted friends information from a user's profile.

推荐答案

目前,Google+ API 是早期的开发者预览版.您唯一能做的就是以只读方式访问公共信息.但是,对于 Google Plus 平台的错误和功能请求,有一个官方问题跟踪器.

Currently, the Google+ API is an early developer preview. The only thing you can do is access public information read-only. However, there is an official Issue tracker for bugs and feature requests regarding the Google Plus platform.

更具体地说,还有一个打开您想要拥有的功能的问题(访问圈子和朋友).确保为这个问题加星标",以便在方法最终可用时得到通知.此外,为该问题加注的人越多,它很快就会发布(显然 Google 员工浏览此列表以确定哪些功能需要很多,哪些不需要).

To be more specific, there's also an open issue for the feature you want to have (access circles and friends). Make sure to "star" this issue in order to get notified when the methods are finally available. Furthermore, the more people star the issue, the more likely it is to be released soon (apparently the Googlers browse this list to determine which feature is requested a lot and which not).

正如 Nicholas 所指出的,现在确实可以使用 people/list 检索朋友列表,前提是您使用的是新的 auth.login OAuth 范围,这将使您可以访问该用户的所有人员已选择与您的应用程序共享.

As Nicholas points out, it is now indeed possible to retrieve a list of friends using people/list, provided you're using the new auth.login OAuth scope, which will give you access to all people that the user has chosen to share with your application.

这篇关于google+ api 人的朋友的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆