简体   繁体   English

如何使用Graph API资源管理器或FQL查看特定人员的所有墙上帖子?

[英]How do I use Graph API explorer or FQL to see all my wall posts from a particular person?

So here is the story, my girl wrote me on my wall and I got the notification but even 3 days later there is no sign of actually reading that wall post. 所以这是故事,我的女孩在我的墙上写了我,我得到了通知,但即使3天后,也没有实际阅读那个墙贴的迹象。 I am obsessed about this because she wrote it from the hospital and it wont be soon that she writes again so I must read what she wrote. 我对此很着迷,因为她是从医院写的,不会很快就会再写一遍,所以我必须阅读她所写的内容。 The notification has some ids associated with them to see if that helps. 通知中包含一些与其关联的ID,以查看是否有帮助。 Please help me figure it out. 请帮我搞清楚。 Figured out using context id in this form but shows blank. 在此表单中使用上下文ID计算出来但显示为空白。 Looks like the post still lives since deleted posts show a clear cut error. 看起来帖子仍然存在,因为删除的帖子显示明确的错误。 https://www.facebook.com/ali.gajani/posts/content_id

Edit: looks like the context id turned out to be my profile id. 编辑:看起来上下文ID被证明是我的个人资料ID。 This is driving me crazy! 这真让我抓狂! I want to see that wall post at any cost and I am sure it's an Fb issue because the wall post has not been deleted! 我想不惜一切代价看到那个墙贴,我确信这是一个Fb问题,因为墙贴还没有被删除!

since you are not looking to make a whole application it is likely you can obtain the information you are looking for using the Graph Explorer if you have the ID of the post, it could be relatively simple. 因为你不想制作一个完整的应用程序,如果你有帖子的ID,你很可能会使用Graph Explorer获取你想要的信息,它可能相对简单。 if not it could be more difficult. 如果不是,那可能会更困难。 The problem lies in why you can not see it on your wall. 问题在于为什么你不能在墙上看到它。

If she changed the permissions on the post, or deleted it you will not be able to see it. 如果她更改了帖子的权限,或者删除了帖子,您将无法看到它。 Even if she did not delete it, you will not be able to read it if it the applicable permissions are not there. 即使她没有删除它,如果不存在适用的权限,您将无法读取它。 To be brief, if you cant see it now, you likely will not be able to programatically. 简而言之,如果你现在看不到它,你很可能无法以编程方式进行。

Good luck. 祝好运。

Get the read_stream permission in the graph explorer, and you should be able to submit this fql query: 获取图浏览器中的read_stream权限,您应该能够提交此fql查询:

SELECT post_id, message FROM stream WHERE source_id = '<user id>'

This should show the stream stories that have showed up in your stream from the specified source (you could use page/group/user id there). 这应该显示从指定源出现在流中的流故事(您可以使用页面/组/用户ID)。 Once you get the post_id, you could just copy-paste it to the graph api part, and see what facebook can tell about that object. 获得post_id后,您可以将其复制粘贴到图形api部分,然后查看facebook可以告诉该对象的内容。

For the user id, you might need to look into the /me/friends relation with the [graph api] part of the explorer. 对于用户ID,您可能需要使用资源管理器的[graph api]部分查看/me/friends关系。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何从facebook fql获得待定的组帖子 - how do i get pending group posts from facebook fql 通过应用程序以用户身份发布到我的公司墙上,图API中缺少发布内容 - Posting to my company wall as user via app, posts missing from graph API 如何使用 facebook graph api 获取某个用户最近喜欢的所有帖子? - How do I get all the posts that a certain user has liked recently with facebook graph api? http Graph不能从我的fb页面返回我的留言,但是使用fbFetch()和JSON可以正常工作 - http Graph is Not Returning my Wall Posts From my fb page, but with fbFetch() and JSON it works fine 如何访问用户在Facebook应用中发布的留言墙 - How do I access wall posts made by the user in a facebook app 如何从Graph API获取特定帖子 - How to get specific posts from Graph API 如何删除自定义帖子类型管理屏幕中出现的所有Wordpress帖子? - How do I remove all Wordpress Posts from appearing in my Custom Post Type admin screen? 从我的Facebook墙上获取私人帖子 - Getting private posts from my Facebook wall 如何使用Posterous API阅读帖子? - How do I use the Posterous API for reading posts? 如何使用 microsoft graph API 中的特定过滤器获取公司中的所有用户 - How do I get all users in my company with a specific filter in microsoft graph API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM