Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3680920
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:38:00+00:00 2026-05-19T03:38:00+00:00

I am developing a facebook application. I am not sure about getting extended permission

  • 0

I am developing a facebook application. I am not sure about getting extended permission from the user. I have seen a code related to this but it is not working well. The code has the problem that if there is a new user and comes to application,, he will be asked for all extended permissions to authorize. But one he authorize and i again add some extra extended permission and want to get that data, the pop window will not be displayed and i cannot access the user data of that newly added permission. I am using the following code for this

$facebook = new Facebook(array(
                'appId' => 'xxxxxxxxx',
                'secret' => 'xxxxxxxxxxxxxxxxxxx',
                'cookie' => true,
    ));
    session = $facebook->getSession();


    $loginUrl = $facebook->getLoginUrl(
       array(
        'canvas'    => 1,
        'fbconnect' => 0,
        'req_perms' =>  'email,publish_stream,offline_access,sms,user_location,friends_birthday'
        )
);
 $fbme=null;
if (!$session) {
    echo "top.location.href = '$loginUrl';";
    exit;
}
else {
    try {
        $uid      =   $facebook->getUser();
        $fbme     =   $facebook->api('/me');

    } catch (FacebookApiException $e) {
        echo "top.location.href = '$loginUrl';";
        exit;
    }


}

Now if any user comes on this point he will be asked for all permission and I can get data for all those permission. But if i add new extended permission, the user that has already authorized my application will not be asked for new permission and I cannot get the data for newly added permission.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:38:01+00:00Added an answer on May 19, 2026 at 3:38 am

    I think if you got the extended permission then facebook will not ask for the same again when that user login to your application after some time.You can see the application that you authorized in the application page.

    So to ask the permission again from same user he/she must remove the permission or remove the application from his/her account.

    And if the user already give permission to your application then you can use that access token.Check this

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an IFrame application in Facebook (using pyfacebook and Django) and could not
I am developing a Facebook application. It must notify random people on Facebook about
I am trying to write a small application to learn about developing for Facebook
I'm just getting into Facebook application development. I've got some questions about how the
While developing a Facebook application I got the friendlist of a user by $friends
I am developing a facebook application using php-sdk. i want to take some extended
I'm working on developing a Facebook application that accesses the user's friends list. Since
When developing a desktop application in .NET, is it possible to not require the
I am developing a facebook application which sits in an application tab. The app
I am developing a facebook application (FBML) and i want to ask for certain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.