title: Check if logged in user liked a page on Facebook API using JS?
body: <p>Im currently working on a project that require to have fan like a page before he can see several content on the site. </p>
  
  <p>The webpage is not an app in Facebook, it's outside facebook. We will not use PHP or backend code, we will only use FrontEnd</p>
  
  <p>I have finished the user login check to check if user is logged in or not.</p>
  
  <p>I am now stuck with the check if user is a fan of our page. I try to use the function page.IsFan, but somehow it needs to have an UID. </p>
  
  <p>The FQL approach is not possible due to the same reason.</p>
  
  <p>Also another problem is with the appID of our page. I try to google of how to get the appID for page, but the search is mixed up with useless contents.</p>
  
  <p>Is there anyway to either get the UID or check if user liked ourpage without UID?</p>
  
  <p>Thank you very much</p>