title: facebook tab userid is 0 after page like
body: <p>I'm trying to get a the facebook userid in a facebook tab, but somehow this always returns 0.
  This is the code I use:</p>
  
  <pre><code>$config = array();
  $config["appId"]    = "427761887242287";
  $config["secret"]   = "xxxxxxxxxxxxxxxxxxxxxx";
  $facebook           = new Facebook($config);
  $fbData             = $facebook-&gt;getSignedRequest();
  </code></pre>
  
  <p>Facebook appId and secret are valid, I've already tried with resetting the secret.
  I've tried to do a print_r on $fbdata but this only returns:</p>
  
  <pre><code>Array
  </code></pre>
  
  <p>(
      [algorithm] => HMAC-SHA256
      [issued_at] => 1337603346
      [page] => Array
          (
              [id] => 158282080958121
              [liked] => 1
              [admin] => 
          )</p>
  
  <pre><code>[user] =&gt; Array
      (
          [country] =&gt; nl
          [locale] =&gt; en_US
          [age] =&gt; Array
              (
                  [min] =&gt; 21
              )
  
      )
  </code></pre>
  
  <p>)</p>
  
  <p>As you can see, this retuns only some non usefull data as far as the user goes.
  I've also tried $facebook->getUser() but this does return 0.
  I do have a valid SSL certificate on my server, I use the right http and https URL's but I can't find out why I get a 0 for the userid while I'm logged in.
  Any suggestions?</p>