title: Facebook API Search - Search for Groups?
body: <p>I have been testing the Facebook php sdk. I am able to search for pages &amp; places but not groups. According to the documentation, this should return groups...</p>
  
  <pre><code>https://graph.facebook.com/search?q=programming&amp;type=group
  </code></pre>
  
  <p>The below code works. If I change the type from "page" to "group", the code fails. I do not get an exception: </p>
  
  <pre><code>$query = urlencode('Harlem');
  
  $type = 'page';
  
  
  $results = $facebook-&gt;api('/search?q='.$query.'&amp;type='.$type);
  </code></pre>