Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有当前用户的 id (uid1) 和他朋友的 id (uid2)。我怎样才能得到他们喜欢或评论的照片(使用 FQL)。请帮我。谢谢!
对于喜欢的照片:
select object_id from like where object_type=photo AND user_id = {user_id}
对于评论,这应该有效,但似乎没有
select post_id from stream where type=46 AND source_id={user_id}