Question:

Why a empty list is returned when I try to get to the list of Groups that I am a member of?

I am using the PHP SDK and the following code is used:

$groups= $facebook->api('/me/groups');

Note: If I query '/me', data can be returned. So, the session etc should be fine at that moment.

 

 

Answer:

Appreciate if you can like this page if you find it useful! - Click "Like"

Please check whether the "user_groups" extended permission had been granted or not. Without this extended permission, an empty group list will be returned.

 

 

Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!