I want the list of groups in which I'm member. In the Graph Api Explorer I did not find any permission like user_groups
.
I select all the "User Data Permissions" and "Extended Permissions" but it did not work.
In graph api explorer I am using this command GET->/v2.4/me/groups
.
and i get empty JSON data Like this.
{
"data":[
]
}
And if I use the old graph api version 2.2 Like GET->/v2.2/me/groups
then I get the groups only in which I am admin not all the groups.
If anyone have this experience and also have any solution please help me to solve my problem.
Short answer: user_groups
is deprecated with v2.4, see
the
user_groups
permission has been deprecated. Developers may continue to use theuser_managed_groups
permission to access the groups a person is the administrator of. This information is still accessed via the/v2.4/{user_id}/groups
edge which is still available in v2.4.
but when i try to access via '/v2.4/{user_id}/groups' edge. it give me blank JSON data.
is there any way to access the list of user groups via facebook api's ?
I'm talking about the Graph API, so I don't understand your second comment. It's gone, and it's all in the docs.
Thanks for your reply Friend i got it. user_gorups permission is working great in Graph api v2.3.
actually you need to change the api version first and then re-access the permissions by clicking on get token button then you will fine the user_gorups permission there.