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")?



i only can find a solution for the old sdk.



thanks!


Source: Tips4all

1 comment:

  1. 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,
    }
    ]
    }

    ReplyDelete