title: Retrieve Parameter From Page Tab URL
body: <p>I have a facebook tab application that has an URL. I want to pass the URL some GET parameters. Normally this is how I do a signed request to get user data:</p>
  
  <pre><code>if ($signed_request = parsePageSignedRequest()) {   
      $config = array(
          'appId'  =&gt; $app_id,
          'secret' =&gt; $app_secret,
      );
  
      $facebook = new Facebook($config);
  
  
      $ret_obj = $facebook-&gt;api('/me', 'GET', array());
  
      $theemail = $ret_obj['email'];
      $thename = $ret_obj['name'];
      $theusername = $ret_obj['username'];
  }
  </code></pre>
  
  <p>I was wondering how to get the GET parameter from the url. The url looks like:</p>
  
  <blockquote>
    <p><a href="https://www.facebook.com/pages/Msomepagey/23023424231927?sk=app_518726691484563&amp;user=someuser" rel="nofollow">https://www.facebook.com/pages/Msomepagey/23023424231927?sk=app_518726691484563&amp;user=someuser</a></p>
  </blockquote>
  
  <p>I want to get the value for <code>user</code>.</p>
  
  <p>Any ideas?</p>