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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:49:08+00:00 2026-06-16T03:49:08+00:00

This is the first question I’ve posted here, but have found stack more than

  • 0

This is the first question I’ve posted here, but have found stack more than useful in the past. I should also say I have searched for many hours, read many questions already asked and am still struggling.

So, I’m writing an FB app and my problem is with the JS SDK, I have set the permissions in the developer area of FB and have also specified the “scope” in FB.login, however on a clean (brand new account) version of FB, I am not being asked for the permissions I have specified, specifically publish_stream and photo_upload. Without this working properly, all images uploaded require “approving” by the user in their photo album, which is annoying and users are unlikely to do.

When I check the permissions on my developer account, I have the correct permissions, but cannot for the life of my understand why there is a difference between my two accounts.

Here is my login function with “scope” specified:

function login() {
FB.login(function(response) {
    if (response.authResponse) {
        // connected
        var access_token =   FB.getAuthResponse()['accessToken'];
        console.log('Access Token = '+ access_token);
        testAPI();
    } else {
        // cancelled
    }
}, {scope:'publish_stream,photo_upload'});

}

Any help would be appreciated and if I have missed any info, give me a nudge.

  • 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-16T03:49:09+00:00Added an answer on June 16, 2026 at 3:49 am

    May be you are using the old SDK and that’s why its not working. Earlier the property name for the permissions was not “scope”, but “perms”, so try out with “perms” and check if its working.

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

Sidebar

Related Questions

This is my first question here but I'm sure there are many more to
This is my first question here. I have been searching Stack Overflow and other
This is my first question, but I've already found this site extremely helpful, so
This is my first question here on stack overflow. i need help on a
this is my first question here in stackoverflow. I have two processes, a root
this is my first question here. I have the following jquery code: $(document).ready(function(){ $(a).click(function(){
This is my first question here. I have a complicated SQL database and I
this is my first question in here, and I would like to ask if
This is my first question on Stack Overflow, so I hope that I'm clear
this is my first question I have searched for any launching activity questions and

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.