Facebook 查询语言 - 如何获取笔记标签?
我已经研究了 FQL API,完成了谷歌搜索 - 但不知道如何获取注释中标记的人员列表。它不在“注释”表上。并且没有 note_tags 表。
还有其他人解决过这个问题吗?
I have poured over the FQL APIs, done google searches - but can't figure out how to get the list of people tagged in a note. It isn't on the 'note' table. And there is no note_tags table.
Anyone else worked this out?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您不介意占用一些处理能力,并且您正在尝试查找被标记的用户朋友,那么这是一种解决方法,您可以查询他们的流:
然后搜索附件的“名称”属性用于帖子标题,或用于注释超链接的 href 属性。
如果您想要他们的名字,您可以执行多重查询:
不幸的是,据我所知,无法搜索查询中的附件。
当然,此方法还会显示在墙上分享了该注释的朋友...您可以通过限制created_time属性来解决这个问题。我不确定这一点,但如果你在笔记创建时被标记,那么故事会在实际笔记发布到创建者的墙上之前稍微显示在你的墙上:对于测试笔记,我做了笔记已发布到创建者的墙在 1279919730 上,有关被标记者墙上的注释的故事是在 1279919725 上创建的。也许这会有所帮助。
this is sort of a work-around if you're not shy of taking up some processing power and you are trying to find the user's friends who are tagged you can query their streams:
and then search through the "name" attribute of the attachments for the title of the post, or the href attribute for the hyperlink to the note.
if you want their names you can do a multiquery:
unfortunately there is, as far as I know, no way to search through the attachments in the query.
Of course this method would also bring up friends who have shared the note on their wall... you could possibly work around that by restricting the created_time attribute. I'm not sure of this but it appears that if you're tagged at the note's creation the story shows up on your wall slightly before the actual note is posted on the creator's wall: for a test note I did the note was posted to the creator's wall at 1279919730 and the story about the note on the tagged person's wall was created at 1279919725. Maybe that helps.