We can see in the json actions_summary which contains the number of likes the post has. And you can deduce if the user I am logged in as has liked if “acted” or “can_act” is present.
But, how do I lookup which users liked the post? We have 2 likes here, one is mine since “acted” is true. But there is one other like. How do I find out which user that is through the API? It is fine if we have to use an admin account to check.
ID가 31인 게시글은 주제를 전역으로 고정하기 위한 작은 게시글 액션입니다(예: Post.find(31).action_code == 'pinned_globally.enabled'). 이러한 게시글은 일반 게시글처럼 상호작용할 수 없기 때문에 좋아요를 받을 수 없습니다.
해당 주제에는 일반 게시글이 단 하나만 있으며, 이 게시글에도 좋아요가 없습니다.
게시글 33을 시도해 보세요. 이 게시글에는 좋아요가 있으며, 여기서 직렬화된 내용을 볼 수 있습니다: