Hello everyone, I’m trying to implement a “like functionality” similar to social media where every user will be able to like the post. And in my case when the post is posted by the user every users are able to see the post and when one user likes the post and logs out and other user signs’ in and hit the like button of the same post he is disliking the post liked by the other user. how can I refresh the like for perticular users? I have “Post Entity” and in that I have a boolean attribute “Islike” to check whether the like is true or false and integer attribute ”Like” to keep a count on likes. Thanks in advance!! Regards, Harish
↧