title: Get all images from specific Facebook album with Graph API PHP SDK
body: <p>Hi I'm trying to grab all pictures from a specific album (always the same hardcoded id).
  I'm using the Graph API PHP SDK from Facebook. This is my code:</p>
  
  <pre><code>&lt;?php
  require 'phpfiles/facebook.php';
  
      $facebook = new Facebook(array(
      'appId'  =&gt; 'aaaa',
      'secret' =&gt; 'bbbb',
      'cookie' =&gt; true
  ));
  
  $user_profile = $facebook-&gt;api('/1881235503185/photos?access_token=cccc');
  var_dump($user_profile);
  </code></pre>
  
  <p>The var_dump output:</p>
  
  <pre><code>array(1) { ["data"]=&gt; array(0) { } }
  </code></pre>
  
  <ul>
  <li>1881235503185 is the id of MY album that is not restricted, it's open to everybody</li>
  <li>the access_token is the token I get from my application page for my fb id. I don't get oauth errors.</li>
  <li>I have the permissions (user_photos) and tryed to add a dozen of other permissions.</li>
  <li>When I try it with the Graph API Explorer it works to. </li>
  </ul>
  
  <p>When I use the Javascript SDK it works fine...</p>
  
  <pre><code>FB.api('/1881235503185/photos?access_token=cccc', function(response) {
      alert(response.data[0].name);
  });
  </code></pre>
  
  <p>Output: Diep in de put</p>
  
  <p>Am I forgetting something?</p>