title: Possible to find out whether a user is logged into facebook over javascript API?
body: <p>This question is not a duplicate of <a href="https://stackoverflow.com/questions/3348543/check-if-user-is-logged-in-new-facebook-api">this one</a>.</p>
  
  <p>I don't want to know whether the user has authorized my application, but if the user is logged into facebook (completely independed from my application).</p>
  
  <p>The reason is that I want to pring user comments in my html code so that search engines can index them.</p>
  
  <p>When a user is logged into facebook I want to replace the html code with the facebook comments snippet. </p>
  
  <p>If not an alternative old school comment form should be displayed.</p>
  
  <p>I would pull the comments regularely from the graph api to have them in my database and comments that are done using the classic form should be posted over the api (not necessarily as the user, could be an admin account...) to have all the data synchronized.</p>
  
  <p>I looked at the Javascript SDK Docs, also found the function <a href="http://developers.facebook.com/docs/reference/javascript/fb.getloginstatus/" rel="nofollow noreferrer">getloginstatus</a> but the documentations are bad and not conclusive. I know that there are also often features available at facebook codes that are not documented or implemented in higher level apis.</p>
  
  <p>My questions are:</p>
  
  <ul>
  <li><p>Can I somehow find out if a user is logged into facebook?</p></li>
  <li><p>Can I somehow have a callback or notification of posted comments, so I can trigger synchronization to my database or do I have to "crawl" the graph api on a regular basis?</p></li>
  </ul>