Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook GraphAPI - Get a list of groups a user belongs

I would like to get the list a groups a user belong with Facebook Graph API. According to the documentation, I tried this :

GET /me/groups

(https://developers.facebook.com/docs/graph-api/reference/user/groups/)

It requires the user_managed_groups privillege, but it only shows groups that the user manage. I would like all groups the user belongs.

Is it possible ? Thanks.

like image 337
Blusky Avatar asked Dec 25 '22 16:12

Blusky


1 Answers

You would need to use the user_groups permission for that, but that permission is deprecated and will be removed soon: https://developers.facebook.com/docs/apps/changelog#v2_4

Meaning, it is not possible, i´m afraid.

like image 140
andyrandy Avatar answered Jan 21 '23 23:01

andyrandy