title: How to check liked fan page from iframe apps via Graph API and Javascript-SDK
body: <p>Here is my code, this is working fine only on apps developer account. WT is my wrong?</p>
  
  <pre><code>window.fbAsyncInit = function() {
  var APP_ID   = 'XXXXX';
  var PAGE_ID  = 'XXXXX';
  
  FB.init({
      appId  : APP_ID,
      status : true, // check login status
      cookie : true, // enable cookies to allow the server to access the session
      xfbml  : true,  // parse XFBML
  });
  
  FB.api('/me/likes/' + PAGE_ID, function(response) {
      t = $.toJSON(response);
      alert(t);
  }); 
  </code></pre>
  
  <p>}</p>
  
  <p><strong>RESULT</strong><br>
  developer account:  </p>
  
  <pre><code>{"data":[{"name":"111222333","category":"Small business","id":"281428705206834","created_time":"2011-09-02T14:14:37+0000"}]}
  </code></pre>
  
  <p>non-developer account:  </p>
  
  <pre><code>{"error":{"type":"OAuthException","message":"An active access token must be used to query information about the current user."}}
  </code></pre>