check isliked in post by id and in posts by author.