当我的一些朋友在照片中被标记时,如何查询流表以获取更新
我的项目需要在照片中标记我的朋友时从他们那里获取更新。在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
类似的问题在这里: 如何在 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.