简体   繁体   中英

facebook SDK roles management

is there a way to get the list of currently listed developers on a face book connect application i want to use this to validate if a user is authorized to sublmit new contenet and create events through the connect website or do i need to couple this with a forms authorization account to handle permissions

or is there a better way over all to handle this

To check if a user is a developer of some specific app you can run such FQL:

select application_id from developer where developer_id=me() and application_id=<APP_ID>

To check if a user granted your app some specific permission you can use this FQL (not sure if this would be helpful in your case though):

select uid from permissions where uid=me() and <PERMISSION_NAME>=1

where <PERMISSION_NAME> is one of these .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM