like table doesn't have all the likes done by the user

给你一囗甜甜゛ 提交于 2019-12-12 23:14:43

问题


I am trying to fetch all the likes that a user has done. I am using the following fql queries to fetch the likes.

SELECT object_type, post_id, object_id FROM like WHERE user_id=me()

I am passing the user's access token along with this query.

Some of the user's like activity is not reflecting in the like table. Did some tests and found out that the missing ones are the likes on posts of some specific friends.

I haven't yet figured out if there are any other like activities of the user that is missing from the like table.

What are the rules by which a like activity of a user is recorded in the like table?


回答1:


It seems Facebook does not gives accurate Like results, at first thought it was caused by users privacy settings, but doing some test with my own friends, the API still shows a discrepancy between the like total_count and the amount of like objects returned. It's either a bug or a mysterious deliberated decision by Facebook.

Please check these other people asking something similar:

  • Difference between a post's likes count and the likes data?
  • Facebook Graph API and FQL like count on photo's both incorrect?
  • Facebook wall post likes are not counted in fql query


来源:https://stackoverflow.com/questions/15133837/like-table-doesnt-have-all-the-likes-done-by-the-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!