Find out if a fb user is app admin in spring social/java
-
12-11-2019 - |
Question
Im developing a Facebook app with java and spring social. Is it possible to find out if a logged in user is admin of the current app? I have been looking through the api but cannot find anything. Or is there any other good way to do this with java.
Update: I did not find an specific api call in spring social to do this but it is possible to do the following which returns a json string with all the roles for the app.
facebook.restOperations().getForObject("https://graph.facebook.com/APP_ID/roles?access_token=your app token", String.class);
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow