Facebook API - “所有我喜欢的"询问 [英] Facebook API - "All my likes" query

查看:20
本文介绍了Facebook API - “所有我喜欢的"询问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以检索所有用户曾经喜欢"的帖子?

Is it possible to retrieve all the posts, user ever 'liked'?

FQL?API?我找不到办法.FB 大师们,您的帮助将不胜感激.

FQL? API? I could not find a way. FB gurus out there, your help would be appreciated.

推荐答案

使用 Stream.get API 调用.

Use the Stream.get API call.

如果您在 source_ids 数组中仅指定一个用户 ID,则可以返回过去 180 天内该用户的个人资料流(迷你供稿)中的最后 50 篇帖子.如果您在 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 调用以从 流表中检索喜欢一个>:

You can make FQL calls to retrieve likes from the stream table:

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆