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 8594961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:19:14+00:00 2026-06-12T00:19:14+00:00

I am just getting acquainted with Facebook javascript SDK. What is the proper way

  • 0

I am just getting acquainted with Facebook javascript SDK.

What is the proper way to check if a permission request was successful then call a function? In my case the user is being requested additional permissions. They have already given basic permissions.

Right now I have this.. but it fires the function regardless of success or not

FB.login(function (publishAuth) {
                            if (publishAuth.authResponse) {

                                authSuccess();
                            } else { }
                        }, { scope: 'publish_stream' });
                    }

Thanks for the help

Mark

  • 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-06-12T00:19:16+00:00Added an answer on June 12, 2026 at 12:19 am

    What is the proper way to check if a permission request was successful then call a function?

    Since the user can accept/deny each (extended) permission individually, there is no simple true/false response to a permissions request.

    To check, which permissions the user has actually granted and which not, you have to make a call to /me/permissions – see Graph API Explorer example.

    (With field expansion you can do it also in one call while requesting other infos about the user – f.e. /me?fields=id,name,permissions)

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

Sidebar

Related Questions

Just getting started building an app using the v6 of the facebook c# sdk
I'm just getting acquainted with Vim's CTags functionality - and it's damn handy. One
I'm just getting acquainted with implementing REST web services in Java using JAX-RS and
Just getting back into jQuery and JS and I am forgetting the basics.. J(.thSort).click(function()
Just getting off my JavaScript training wheels. Why does Google choose to unescape the
I am just getting started with flex and am using the SDK (not Flex
Just getting started with Tempo javascript templating engine. In all examples in the documentation,
Just getting up to speed with YAML and want to confirm whether it's possible
Just getting into the NoSQL stuff so forgive me if this is a simple
Just getting started with C++ here. I am working on OSX with Eclipse CDT.

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.