Viet Phan
Viet Phan

Reputation: 2119

how to get user's group data from Facebook

As the changelog Facebook API upgrading from v2.3 to v2.4, we can't use the scope user_groups by v2.4 app anymore

the user_groups permission has been deprecated. Developers may continue to use the user_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.

Is there any solutions to get group data? I'm using Java with RestFb library

Upvotes: 1

Views: 437

Answers (1)

andyrandy
andyrandy

Reputation: 74014

You can use user_managed_groups for access to groups you manage, as you can read in the message. It´s not possible to access groups you don´t manage anymore. The API endpoint stays the same: /me/groups.

Upvotes: 1

Related Questions