title: How do I get the posts of a closed Facebook group using Facebook PHP SDK?
body: <p>Here's my code:</p>
  
  <pre><code>&lt;?php
  require_once("../src/facebook.php");
  
  $config = array();
  $config['appId'] = 'APP_ID_HERE';
  $config['secret'] = 'APP_SECRET_HERE';
  
  $facebook = new Facebook($config);
  
  $facebook-&gt;setExtendedAccessToken();
  $facebook-&gt;getAccessToken();
  $patas_feed = $facebook-&gt;api('136304296439193/feed','GET');
  var_dump($patas_feed);
  ?&gt;
  </code></pre>
  
  <p>I'm using this code to get the wall feed of a closed Facebook group. Unfortunately, it returns nothing; however, if I were to use this with an open Facebook group, it works great and creates an array of everything. I think the problem is the access token. How do I make the access token accessible to closed groups? </p>
  
  <p>P.S. I'm a member of the closed group, and I can always obtain admin access if ever.</p>
  
  <p>Update:
  I gave my account permission to the app. It still didn't work.</p>