I am trying to get my groups with graph api v2.0, but data returns empty:
{
"data": []
}
Before this I used v1.0 and this was workable. I use:
https://graph.facebook.com/v2.2/252637181559106?fields=id%2cname&access_token=****
Same result I have with https://apigee.com; (https://apigee.com/console/facebook?req=%7B%22resource%22%3A%22getusergroups%22%2C%22params%22%3A%7B%22query%22%3A%7B%7D%2C%22template%22%3A%7B%22user%22%3A%22me%22%7D%2C%22headers%22%3A%7B%7D%2C%22body%22%3A%7B%22attachmentFormat%22%3A%22mime%22%2C%22attachmentContentDisposition%22%3A%22form-data%22%7D%7D%2C%22verb%22%3A%22get%22%7D)
Can anyone help me to receive all my groups?
https://developers.facebook.com/docs/facebook-login/permissions/v2.3
In short: Facebook will no longer approve user_groups permission for most developers starting from 30 Apr 2015.
The group you are mentioning is a closed group. In order to access anything about that group, you need to have the user_groups permission. Facebook's policy is to deny that permission to ANYONE unless they are coding for a platform that does not have a native Facebook app. If you are coding for Android iOS, or Windows Mobile, you are probably out of luck... =(