In Graph Api Explorer I did not find permission, for example user_groups. I select all “User Data Permissions” and “Advanced Permissions”, but this did not work.
user_groups
In the graphical api explorer, I use this command GET->/v2.4/me/groups. and I get empty JSON data.
GET->/v2.4/me/groups
{ "data":[ ] }
And if I use the old api graph version 2.2. Like GET->/v2.2/me/groups, then I get only groups in which I am not the administrator of all groups.
GET->/v2.2/me/groups
If anyone has this experience and has any solution, please help me solve my problem.
Short answer: user_groupsDeprecated since v2.4, see
permission user_groupsis out of date. Developers can continue to use permission user_managed_groupsto access groups that are managed by a person. This information is still available over the edge /v2.4/{user_id}/groups, which is still available in version 2.4.
user_managed_groups
/v2.4/{user_id}/groups
What exactly are you looking for?
A, Graph API v2.5 , , , admined_groups. user_managed_groups , .
-
Source: https://habr.com/ru/post/1606542/More articles:location object expected array of locations not in the correct format - arraysHow to handle META HTML tags using Mojo :: UserAgent? - perlHow to print / display an array in jquery - javascriptMojo :: UserAgent get () with custom callback - perlJava iterator.hasNext () is always true - javawebRTC: How to say that Opus codec uses ultra-wide range / full band - webrtcHow can I associate an expression that uses itself? - clojureAre LogCat the most expensive in Android? - androidWith IxSet, is it possible to create an indexable wrapper around an arbitrary type of indexing? - haskellHow can you get more default info from logging in to Google? - javascriptAll Articles