title: Facebook PHP-SDK getUser() always returns 0
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6790272/why-is-facebook-php-sdk-getuser-always-returning-0">Why is Facebook PHP SDK getUser always returning 0?</a>  </p>
  </blockquote>
  
  
  
  <p>I am using the new php SDK to create a very simple app. 
  When I try $facebook->getUser(), it always returns 0 (claiming that I'm not logged in to FB, howeven I'm already INSIDE Facebook.. </p>
  
  <p>It only works when I'm loggin in to the app from facebook.. any idea how to solve this?</p>
  
  <p>Thanks,
  Yuval</p>