Facebook Graph API {user-id} /其他人的feed为空 [英] Facebook Graph API {user-id}/feed from others empty
问题描述
我想从其他用户(用户B)而不是我(用户A)获取 / {user-id} / feed
,但查询返回空列表。
我正在使用 Graph API资源管理器进行查询,而且我的访问令牌为 user_posts
, user_status
和 read_stream
权限,但是我无法得到这个信息。
在这个线程中说: p>
另外查询的用户需要授予该应用的read_stream权限。
在另一个线程中,他们说:
< blockquote>
-
如果用户是您的应用程序用户授权read_stream权限,那么您访问USER_ID / feed。这是因为USER_ID / feed端点仅在用户向您的应用授予read_stream权限时可用。应用访问令牌是不允许的。
-
如果用户不是具有read_stream的应用用户,则可以访问USER_ID /链接。这是因为没有read_stream权限需要访问此端点。应用访问令牌是不允许的。
我的问题:
- 我真的需要这个其他用户(用户B)授予此权限才能访问其Feed?
- 哪里可以我发现官方文档是这样说的?
- 由于
/ {user-id} / links
似乎可以访问,是帖子
,状态
或标记
可访问,或者我只需访问
$ b注意:
由于目的是使用它和iOS和Android应用程序,我不能使用read_stream
权限,所以我将使用user_posts
它应该是有效的,因为他们在 https://developers.facebook.com/docs/graph-api/reference/v2.3/user/feed
>决方案- 当然,为什么会有人想要你的应用不经他授权的访问他的新闻源?请记住,不仅用户能够访问他的朋友的Feed,而且应用程序也是这样 - 这意味着应用程序开发人员很容易访问。
- 应该清楚第1号。为什么甚至可以获得许可,如果您可以从其他用户那里获取Feed?
- 您无法从用户那里获取任何数据出于隐私的原因授权。朋友权限不见了。
I want to get
/{user-id}/feed
from another user (user B) rather than "me" (user A), but the query returns an empty list.I'm using the Graph API Explorer to make the queries, and I've got the Access Token with
user_posts
,user_status
andread_stream
permissions, but I can't get this information.In this thread is said that:
Additionally the queried user needs to grant the app the read_stream permission.
In this other thread they said:
If the user is your app user authorized with read_stream permission, then you access the USER_ID/feed. It's because USER_ID/feed endpoint only available if user give permission read_stream to your app. App Access Token is not allow.
If the user is not your app user with read_stream, then you access the USER_ID/links instead. It's because no read_stream permission require to access this endpoint. App Access Token is not allow.
MY QUESTIONS:
- Do I really need this other user (user B) to grant this permission to access his feed?
- Where can I find official documentation saying so?
- As
/{user-id}/links
seems to be accessible, areposts
,statuses
ortagged
accessible too, or I just can accesslinks
without User B granting this permission?
Note: Since the purpose is to use it in and iOS and Android App I can't use the
read_stream
permission, so I would use theuser_posts
which is supposed to be valid as they say in https://developers.facebook.com/docs/graph-api/reference/v2.3/user/feed >解决方案- Of course, why would anyone want your App to access his newsfeed without his authorization? Keep in mind that not only the user would be able to access the feed of his friends, but the App too - which means, it would be easy for the App developer to get access.
- Should be clear with number 1. Why would there even be a permission if you could just grab the feed from another user with it?
- You can´t get ANY data from a user without his authorization, for privacy reasons. Friend permissions are gone.
这篇关于Facebook Graph API {user-id} /其他人的feed为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!