title: How to check IF user has ALREADY liked the facebook page?
body: <p>I have a like button on my website (which is for users to like the fb fan page).</p>
  
  <p>If the user clicks like, I check to see if the even has been fired (event subscribe), and then display some content to them.</p>
  
  <p><strong>What I would really appreciate help with is the following:</strong></p>
  
  <p>If the <em>user is logged in to facebook</em> AND they already like the page, I want it to display "You're already a fan!" and show the content. (rather than displaying the greyed out like button)  </p>
  
  <p><strong>OR</strong></p>
  
  <p>If the <em>user is not logged in to facebook</em> and they click the like button, I want it to display "You're already a fan!" and show the content. (rather than displaying the greyed out like button)</p>
  
  <p>edit: Guys, I've researched this on SO and have found similar questions but not quite what I'm after. Maybe I'm mistaken but if someone can provide a link to one which describes my exact problem, it would be a lot more helpful than a - on the question. I have checked the following:<br>
  <a href="https://stackoverflow.com/questions/6480926/check-if-the-user-is-connected-to-facebook-and-then-check-if-he-liked-a-page">Check if the user is connected to facebook and then check if he liked a page</a><br>
  <a href="https://stackoverflow.com/questions/4360058/facebook-like-box-how-to-detect-if-user-already-liked-the-page">Facebook Like Box: How to detect if user already liked the page?</a><br>
  <a href="https://stackoverflow.com/questions/3163115/facebook-like-button-hiding-when-page-is-already-liked-by-user">Facebook LIKE button hiding when page is already LIKED by user</a><br>
  <a href="https://stackoverflow.com/questions/7376037/how-to-check-whether-user-has-liked-the-page-or-not-using-php-javascript">How to check whether user has liked the page or not using php/javascript</a><br>
  <a href="https://stackoverflow.com/questions/6830497/check-if-user-already-likes-fanpage">Check if user already likes fanpage</a>  </p>