Facebook的API - "我所有的喜欢"询问 [英] Facebook API - "All my likes" query
问题描述
是否有可能恢复的所有的帖子,用户永远'喜欢'?
Is it possible to retrieve all the posts, user ever 'liked'?
FQL? API?我无法找到一个方法。
FB大师在那里,你的帮助将是AP preciated。
FQL? API? I could not find a way. FB gurus out there, your help would be appreciated.
推荐答案
使用 Stream.get API调用。
如果你source_ids数组中仅指定一个用户ID,您可以返回来自该用户的配置文件流(的Mini-Feed)在过去50个员额在过去的180天。如果您在source_ids数组中指定多个用户ID,您只能从过去的9天退换货这些流的帖子。
If you specify only one user ID in the source_ids array, you can return the last 50 posts from that user's profile stream (Mini-Feed) for the last 180 days. If you specify more than one user ID in the source_ids array, you can return posts in those streams only from the last 9 days.
您可以FQL调用从流表中检索喜欢:
SELECT likes FROM stream WHERE source_id = [user_id]
这将返回用户的喜好在过去的180天。
This will return the user's likes for the last 180 days.
这篇关于Facebook的API - "我所有的喜欢"询问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!