title: Get User Id from Facebook in PHP
body: <p>I am trying to make a Facebook app and need user id from Facebook when the user opens the applicaiton. I have setup my application and its show mock form on the Facebook canvas, I need help in connecting Facebook API to my page, would i need to download a API for that? And how do I get the user id from the JSON object which facebook says it sends to the application?</p>
  
  <p>My test applcation is:</p>
  
  <pre><code>&lt;?php
  
  echo "this is working";
  
  ?&gt; 
  </code></pre>
  
  <p>This is working on Facebook.</p>