title: how to get friends who like my topic
body: <p>i have <strong>users</strong> table
  has <strong>id</strong> field
  and the friendship table <strong>frienduser</strong> has <strong>friend1id</strong> or <strong>friend2id</strong> according who sent a request to whom first
  and likes table | <strong>thread_id</strong> - <strong>userid</strong>
  i want select from users the persons who are my friends and liked the topic</p>