Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook api 2.4, user_group permission

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. enter image description here

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 :).

like image 346
terzi_matte Avatar asked Jul 18 '15 10:07

terzi_matte


People also ask

How do I give an app permission on Facebook?

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.

What permissions does Facebook need?

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.

Does Facebook allow API?

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.

How do I get my Facebook API User ID?

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.


1 Answers

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.

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.

like image 144
andyrandy Avatar answered Sep 27 '22 23:09

andyrandy