我怎样才能得到“现在是朋友”?和“被标记” Facebook Graph API 中的帖子?

发布于 2024-10-05 17:56:47 字数 396 浏览 1 评论 0原文

我正在使用 ASP.NET 和 C# 以及来自 codeplex (Graph API) 的最新 Facebook SDK API。我想将我的所有(登录用户)新闻源内容作为 JSON 对象获取。 使用“read_stream”权限,我没有得到任何:

  1. “现在是朋友”的帖子表明我的朋友有新朋友。这些帖子会出现在我访问 facebook.com 时的新闻源中。

  2. “X 在照片中被标记”风格的帖子表明我的一个朋友现在在照片中被标记。这些类型的帖子也会出现在我访问 facebook.com 时的动态消息中。

我试图找到一种方法来使用 API 的方法、使用不同的权限类型、使用 FQL 查询来获取这些数据,但失败了...... 你能帮忙吗?有没有直接获取这些数据的方法? 谢谢!

I am using ASP.NET and C# together with the latest Facebook SDK API from codeplex (Graph API). I would like to get all of my (the logged in user) newsfeed contents as a JSON object.
Using the "read_stream" permission, I do not get any of:

  1. The "is now friends with" posts which indicate my friends have new friends. These posts appear on my news feed when in facebook.com.

  2. The "X was tagged in a photo" style posts which indicate one of my friends is now tagged in a photo. These type of posts also appear on my news feed when in facebook.com.

I tried to find a way to get this data using the API's methods, using different permission types, using the FQL queries, but failed...
Can you help with that? Is there any direct way to get that data?
Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一抹微笑 2024-10-12 17:56:51

不幸的是,这些故事目前在“/home”或“/feed”端点中尚不可用。如果您愿意,可以在 Bugzilla 中提交功能请求。现在,您可以通过使用 实时更新功能并保留日志。不幸的是,您还无法使用实时更新订阅“/tagged”连接,因此恐怕在我们添加该支持之前我无法想到模仿这些故事的好方法。

Unfortunately, the stories are not currently available in the "/home" or "/feed" endpoints yet. If you would like, you can file a feature request in Bugzilla. Right now, you could sort of fake the "is now friend with" story at least for the current by subscribing to the "/friends" connection of the User object using the Real-time Updates feature and keeping a log. Unfortunately, you can't yet subscribe to the "/tagged" connection using Real-time Updates so I'm afraid there's no good way I can think of to mimic those stories until we add that support.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文