'Fetch all Facebook Groups user created or admin of
I'm having an issue fetching all groups an authenticated user created or is an admin of.
Here is the endpoint I used:
https://graph.facebook.com/${userId}/groups?access_token=${accessToken}&admin_only=true&fields=administrator,id,name,icon,cover,permissions,privacy
The above endpoint is not returning groups the user created. It is only returning other groups the user is an admin of. This is very weird. I feel that if I created a group I should automatically be an admin to that group. Is that not how it supposed to be? Or is there another endpoint that can help me achieve what I want?
I want to fetch all Facebook groups the user created or is an admin of.
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|