gpt4 book ai didi

api - Facebook API - "All my likes"查询

转载 作者:行者123 更新时间:2023-11-30 05:19:20 24 4
gpt4 key购买 nike

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

生活质量?应用程序接口(interface)?我找不到办法。那里的 FB 专家,您的帮助将不胜感激。

最佳答案

使用 Stream.get API调用。

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 调用以从 stream table 中检索点赞数:

SELECT likes FROM stream WHERE source_id = [user_id] 

这将返回用户在过去 180 天内的点赞数。

关于api - Facebook API - "All my likes"查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1322309/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com