[英]Unable to get all the posts or feeds using Facebook Graph API's like me/feed or me/posts
I am using Facebook Graph api in salesforce to make a facebook widget. 我在salesforce中使用Facebook Graph api制作一个facebook小部件。 Now once I achieved to get an valid access token using Oauth , I am making an get request to get all the feed and posts from my facebook wall, but the issue is I am getting only feed or posts those I have posted on my wall myself or been tagged in. But if someone from my friend side has posted something (lets say my friend Mark has uploaded a photo of himself where I haven't tagged), then its not coming in the API feed or posts request , unless Mark tagged me in it, although its been showing to me on my home wall through facebook account login.
现在,一旦我获得了使用Oauth获得有效访问令牌的权限,便发出一个get请求,从我的Facebook墙上获取所有供稿和帖子,但是问题是我只能获取自己张贴在我的墙上的那些供稿或帖子。或被标记。但是,如果我朋友一侧的某人发布了某项内容(例如,我的朋友马克在我未标记的地方上传了自己的照片),则除非API标记为马克,否则它不会出现在API供稿或发布请求中我在其中,尽管通过Facebook帐户登录在我的家里墙上显示了它。 So is there a way to get all the feeds and posts of my home wall irrespective of the fact that I have been tagged or shared in it or not.
因此,有没有一种方法可以获取我家墙上的所有提要和帖子,而不管我是否已被标记或共享。
No, this is pratically no longer possible to get /me/home
, which is what you are trying to do. 不,实际上不再可能获得
/me/home
,这就是您要尝试的操作。 The results you describe if you're using /me/feed
seem to be correct. 如果使用
/me/feed
则描述的结果似乎是正确的。
The reason is that FB doesn't grant the necessary read_stream
permission anymore. 原因是FB不再授予必要的
read_stream
权限。
See 看到
The GET /v2.4/{user_id}/home, GET /v2.4/{user_id}/inbox, and GET /v2.4/{user_id}/notifications operations as well as read_stream, read_mailbox, and manage_notifications permissions are deprecated in v2.4.
不建议使用GET /v2.4/{user_id}/home、GET /v2.4/{user_id}/inbox和GET /v2.4/{user_id}/notifications操作以及read_stream,read_mailbox和manage_notifications权限在v2.4中。
This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available.
此权限授予在尚不可用Facebook的平台上构建Facebook品牌客户端的应用程序。 For example, Android and iOS apps will not be approved for this permission.
例如,Android和iOS应用程序将不会获得此权限。 In addition, Web, Desktop, in-car and TV apps will not be granted this permission.
此外,不会向Web,桌面,车载和电视应用授予此权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.