Take the 2-minute tour ×

I need a new permission for my application.
How can I extend (reask) permissions?


share|improve this question
add comment

4 Answers

up vote 2 down vote accepted

This isn't possible programmatically.

User has to "delete" that application from his privacy settings and retry again

share|improve this answer
this is surely possible, i just did it yesterday using the code i posted in my answer –  jaminator Sep 5 '11 at 21:33
genesis: that's absolutely not true. –  Benjamin Netter Sep 5 '11 at 21:48
@BenjaminNetter: in your code it is possible it'll just redirect yourself to FB, and it is possible that FB tells you that you are already registered. At least with PHPSDK –  genesis Sep 6 '11 at 4:35
add comment

Replace app_id, url of your app main script and add needed permissions (scope). Then place this string to browser and press Enter ;) https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&scope=email,read_stream

share|improve this answer
add comment

You can do it using Facebook Javascript SDK too:

<script src="http://connect.facebook.net/en_EN/all.js"></script>
    appId  : 'your app id',
    status : true, // check login status
    xfbml  : true  // parse XFBML

function askPermission() {
    FB.login(function(response) {
        if (response.session) {
            /* New permissions granted */
            var newAccessToken = response.session.access_token;
    }, {perms:'email'});
share|improve this answer
add comment

my application was asking for basic permission first then i changed it to ask for extended using below code in php:

  $facebook = new Facebook(array(
      'appId'  => 'xxxxxxxxxxxxxxxxxx',
      'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    $user = $facebook->getUser();

                    // Permission is granted!
                    // Do the related task

                } else {
                    // We don't have the permission
                    // Alert the user or ask for the permission!
                    echo "Click Below to Enter!";

the else part asks for permission if user hasn't granted extended permission yet.

share|improve this answer
add comment

Your Answer


