i have make a web site that required user_group permission, but when i decided to Publish it, i submit my apps for the review, i have discovered that user_group permission could not be approved.
But my website need to get the user groups list, how can i do it?
i have tryed using FQL or GRAPH API with 'user_managed_groups' permission but in the response there are only the groups were i am admin.
Help me, and sorry for my grammar :).
Tap in the top right of Facebook. Scroll down and tap Settings. Go to the Permissions section and tap Apps and Websites. Go to Apps, Websites and Games and tap Edit.
Facebook Login allows a person to grant only a subset of permissions that you ask for to your app, except for public profile, which is always required.
The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.
The simplest way to get a copy of the User Profile object is to access the /me endpoint: FB. api('/me', function(response) { }); This will this will return the users name and an ID by default.
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.
Source: https://developers.facebook.com/docs/apps/changelog#v2_4
There is no replacement for user_groups
, you can´t get access to groups you don´t manage anymore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With