Reputation: 201
Say I have a userID, and that user is logged in in my FB application, and I also have the group id.
I'm writing a JS frontend application, and can't find a simple way to confirm if the user belongs to the group.
Many thanks.
Upvotes: 3
Views: 681
Reputation: 74014
It is not possible anymore, because the user_groups
permission is deprecated. You can only get access to groups you manage with user_managed_groups
, but i you manage a groupd, you are definitely a member too ;)
Although, you could do it with a group you manage, by using your own User Access Token with user_managed_groups
and the /group-id/members endpoint. But there is another problem: You may not get the App Scoped IDs, so you can´t really compare the User IDs.
Upvotes: 3