Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Thursday, April 5, 2012
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")?
Update at the end of 2011:
ReplyDeleteFB.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,
}
]
}