Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

check for extended permissions with new facebook javascript sdk

is there a way to check in my application (canvas) if the user has extended permission (for example "stream.publish")?

i only can find a solution for the old sdk.

thanks!

like image 456
choise Avatar asked Aug 02 '10 13:08

choise


1 Answers

Update at the end of 2011:

FB.api('/me/permissions', function (response) {     console.log(response); } ); 

console output:

{     data: [         {             create_note: 1,             installed: 1,             photo_upload: 1,             publish_stream: 1,             share_item: 1,             status_update: 1,             video_upload: 1,         }     ] } 
like image 191
Tim Avatar answered Oct 09 '22 12:10

Tim