title: Using facebook javascript sdk to process fql query
body: <p>I have just put implemented Facebook connect on my web-site using the JavaScript SDK. Now I would like to process an fql query. </p>
  
  <p>So I have two questions: </p>
  
  <ol>
  <li><p>Is it possible using only JavaScript fql as "<code>SELECT id, name FROM user WHERE uid IN (SELECT uid1 FROM friends WHERE uid2=me())</code>" ?</p></li>
  <li><p>Because when I tried some PHP SDK code using the facebook doc</p></li>
  </ol>
  
  <p>PHP:</p>
  
  <pre><code>$app_id = 'MY_ID';
  $app_secret = 'MY_APP_SECRET';
  $my_url = 'POST_AUTH_URL';
  $code = $_REQUEST["code"];
  </code></pre>
  
  <p><code>$_REQUEST["code"]</code> is quite normally not recognized and I don't know what is the "<code>'POST_AUTH_URL'</code>" because I didn't use the PHP SDK to process the Facebook-connect. Does anyone have an idea?</p>