Facebook Connect: hasPermission() from js?

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-03-08T18:59:51Z Indexed on 2010/03/08 19:21 UTC
Read the original article Hit count: 815

Is it possible to determine whether a user has granted my app a specific permission or not via javascript?

Something similar to how you do it in php:

$fb->api_client->users_hasAppPermission('publish_stream');

I know i can request a permission with

FB.Connect.showPermissionDialog('publish_stream', null);

But i just wan't to know if i have the permission or not.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-connect