简体   繁体   English

无法使用像我/提要或我/帖子之类的Facebook Graph API获取所有帖子或提要

[英]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.

相关问题 我可以使用Facebook Graph API从活动的提要中获取所有帖子吗? - Can i get all posts from an event's feed using Facebook Graph API? 如何使用Facebook Graph API获取Facebook“ HashTag”提要/帖子等? 我想获取特定#HashTag的所有帖子 - How to get the Facebook “HashTag” feeds/Posts etc using the Facebook Graph API ? I want to get all the posts of a particular #HashTag Facebook Graph Api Feed未返回所有帖子 - Facebook Graph Api Feed not returning all posts Facebook Graph API获取提要/帖子缺少墙上的帖子 - Facebook Graph API Get feed/posts is missing wall posts 我可以使用Facebook Graph API资源管理器获取所有帖子(个人资料)吗? - Can i get all my posts(profile feed) using Facebook Graph API explorer? Facebook Open Graph Feed无法从我那里退回我所有的墙贴 - Facebook Open Graph Feed Not Returning All My Wall Posts From Me 通过Graph API / me / home在Feed上看不到某些帖子 - Some posts not visible on the feed through Graph API /me/home 如何使用facebook open graph api获取所有对象,即特定用户喜欢的页面上的帖子,即“我”? - How to get all objects i.e posts on a page liked by a particular user i.e. 'me' with facebook open graph api? 无法在Android中使用Graph API获取Facebook墙贴的所有评论 - Unable to get all comments of facebook wall posts using Graph API in android 我通过图谱API在Facebook上发布的墙贴 - Facebook wall posts made by me via the graph api
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM