title: How distinguish between pages and applications?
body: <p>Using <a href="http://developers.facebook.com/docs/reference/php/" rel="nofollow">php-sdk</a> I obtain pages in this way:</p>
  
  <pre><code>$array = $this-&gt;instance-&gt;api(
      '/' . $fb_user . '/accounts', 'GET', array('access_token' =&gt; $access_token)
  );
  </code></pre>
  
  <p>Now <code>var_dump($array['data']);</code> gives me:</p>
  
  <pre><code>array (
  0 =&gt; 
  array (
      'name' =&gt; 'my name 1',
      'access_token' =&gt; '***',
      'category' =&gt; 'Electronics',
      'id' =&gt; '***',
  ),
  1 =&gt; 
  array (
      'name' =&gt; 'my name 2',
      'access_token' =&gt; '***',
      'category' =&gt; 'Application',
      'id' =&gt; '***',
  )
  </code></pre>
  
  <p>Only the first item is a page, the second is an app. Any way to distinguish them or improve this snippet?</p>
  
  <p>EDIT: Using the <code>category</code> field seems a too weak procedure.</p>