title: my first app as a page tab, 'like' status is empty after user likes the page
body: <p>I just learned how to create my first app as a welcom tab. Using directions here, <a href="http://www.hyperarts.com/blog/customizing-facebook-iframe-application-signed_request_reveal_tab/" rel="nofollow">http://www.hyperarts.com/blog/customizing-facebook-iframe-application-signed_request_reveal_tab/</a> I set up an if statement to check the signed_request 'like' status to determine which page to show. It worked perfectly the first couple of times but after I went to the test pages settings and set the welcome-test tab as the default landing tab, now the page still defaults to the wall tab but when I click on the welcom-test tab it shows me the non-fan content even though the like button is gone as it should be since I already liked it. I tested the like status again and it is empty as if I haven't liked it yet.</p>
  
  <p>Can anyone tell me if this is a facebook bug or a problem in my code?</p>
  
  <pre><code>$page_id = $signed_request["page"]["id"];
  $page_admin = $signed_request["page"]["admin"];
  $like_status = $signed_request["page"]["liked"];
  $country = $signed_request["user"]["country"];
  $locale = $signed_request["user"]["locale"];
  
  
  //debug
  echo "&lt;br&gt;page id = $page_id";
  echo "&lt;br&gt;page admin = $page_admin";
  echo "&lt;br&gt;like status = $like_status";
  echo "&lt;br&gt;country = $country";
  echo "&lt;br&gt;locale = $locale";
  
  //everything comes back good here but like is empty
  
  if ($like_status) {
  echo "You like us";
  }
  else {
  echo "&lt;br/&gt;You don't like us yet";
  }
  
  if($page_id == "245842635426802" &amp;&amp; $like_status)
  {
      include('pages/245842635426802.php');
  }
  else
  {
      include('pages/245842635426802_nolike.php');
  }
  </code></pre>
  
  <p>The page is here. <a href="https://www.facebook.com/pages/Testcompany/245842635426802?sk=app_377848798909813" rel="nofollow">https://www.facebook.com/pages/Testcompany/245842635426802?sk=app_377848798909813</a></p>
  
  <p>Thanks</p>
  
  <p>edit: I just checked the page and it worked once but then wouldn't work any more. I would think it was a network issue if it didn't return all the other values correctly. So I think it's a facebook bug just like when I add a like button to a web page and the count is always screwy. </p>
  
  <p>I hate to keep adding edits but here's some more information.</p>
  
  <p>I used another non admin fb user to test  and it worked several times and then all of a sudden, the same thing. No like button because I already liked the page but this time the entire getSignedRequest returns empty. So, something is going on with getSignedRequest only working part time. Anyone have any information on a problem with getSignedRequest only working some of the time?</p>
  
  <p>Thank you</p>