Facebook Graph API:区分“链接”的目的是什么?和“状态” RESP。 " read_stream"和“friends_status”权限 [英] Facebook Graph API: What's the purpose of the distinction between "links" and "statuses" resp. "read_stream" and "friends_status" permissions

查看:93
本文介绍了Facebook Graph API:区分“链接”的目的是什么?和“状态” RESP。 " read_stream"和“friends_status”权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个使用Facebook用户的朋友的共享链接作为输入的功能。

I am building a feature that is using the shared links of a facebook user's friends as input.

寻找获得所有链接的最佳方式,我偶然发现以下问题:

Looking for the best way to obtain all those links I stumbled upon the following problem:

共享链接在Graph API中由类型为 链接 或类型 状态 (消息中包含一个链接)。

Shared links are represented in the Graph API by either objects of type link or of type status (where the message contains a link).

我所困惑的是为了获得这些链接,需要不同的权限:对于前者和friend_status,read_stream(这是相当突出的)。

What I am confused about is that in order to obtain those links different permissions are required: read_stream (which is quite obtrusive) for the former and friends_status for the latter.

这是否有意义? 或者我在这里缺少一些东西?

Does this make any sense? Isn't statuses a super-set of links? Or am I missing something here?

推荐答案

你不需要 friends_status 除非您计划阅读用户的朋友的链接状态。您只需要请求 read_stream 权限。这将让您阅读用户墙上的任何内容,即使它是由朋友发布的。

You don't need friends_status unless you plan on reading the user's friends' statuses for links. You only need to ask for the read_stream permission. This will let you read anything on the user's wall, even if it was posted by a friend.

这篇关于Facebook Graph API:区分“链接”的目的是什么?和“状态” RESP。 " read_stream"和“friends_status”权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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