当我的一些朋友在照片中被标记时,如何查询流表以获取更新

发布于 2024-12-09 12:59:10 字数 524 浏览 2 评论 0原文

我的项目需要在照片中标记我的朋友时从他们那里获取更新。在Facebook网站上,这种“某人在照片中被标记”的消息会自动分类到我的朋友列表之一(例如:亲密朋友)中,而不是新闻提要类别中。因此,我使用下面的 FQL 来查询流表:

SELECT post_id, source_id, updated_time, created_time, actor_id, target_id, message, attachment, comments, likes 
FROM stream 
WHERE filter_key in 
    (SELECT filter_key FROM stream_filter 
     WHERE uid = me() AND type = 'friendlist') 
AND is_hidden = 0 ORDER BY created_time DESC

但不幸的是,除了照片标签更新之外,我在 facebook 网站上看到的所有更新都存在于查询结果中。

有谁知道问题是什么或者我如何检索此类照片标签更新? 谢谢

my project requires get updates from my friend when they are tagged in a photo. On facebook site, such kind 'someone is tagged in a photo' message is automatically categorized in one of my frined list (for example: close friend) other than the news feed category. So I use below FQL to query the stream table:

SELECT post_id, source_id, updated_time, created_time, actor_id, target_id, message, attachment, comments, likes 
FROM stream 
WHERE filter_key in 
    (SELECT filter_key FROM stream_filter 
     WHERE uid = me() AND type = 'friendlist') 
AND is_hidden = 0 ORDER BY created_time DESC

But unfortunately, all updates I see on the facebook site exist in the query result except for the photo tag updates.

Does anyone know what's the issue or how can I retrieve such photo tag updates ?
Thanks

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

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

发布评论

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

评论(1

最后的乘客 2024-12-16 12:59:10

类似的问题在这里: 如何在 Facebook Graph API 中获取“现在是好友”和“被标记”帖子?

不幸的是,答案不是您想听到的。

Similar question here: How can I get "is now friends with" and "was tagged in" posts in Facebook Graph API?

Unfortunately the answer isn't what you want to hear.

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