Login with Facebook - I can not log into the application itself with the developer account

0

I have a website, where I include login for users, using the facebook API.

Everyone can log in normally, but my application Administrator login that I created for login does not go in, ie, the only login that does not work is my admin application.

The following error is displayed after clicking the "Enter" button:

  

Invalid Scopes: publish_stream. This message is only shown to   developers. Users of your app will ignore these permissions if   present Please read the documentation for valid permissions at:    link

In my code, I do not request this permission from the API, as follows:

function fb_login(){
    FB.login(function(response) { statusChangeCallback(response); }, {
        scope: 'publish_stream,email'
    });
}

Why is my login not the only one that does not go in?

Is there any release to be made within the application on facebook?

Obs : The application is in "public" status.

  

"This app is public and available to all users"

Thanks in advance for any help you may have

    
asked by anonymous 16.12.2016 / 04:11

1 answer

1

The publish_stream permission no longer exists. If you need to do publications on your behalf, use publish_actions . Only developers can see permission errors, which is why you are the only one who can not log in. It's as if facebook is saying, "hey, developer, fix it!". In the case of users, the error is ignored.

If you do not need to publish on your behalf, use:

function fb_login(){
    FB.login(function(response) { statusChangeCallback(response); }, {
        scope: 'email'
    });
}

If needed, use:

function fb_login(){
    FB.login(function(response) { statusChangeCallback(response); }, {
        scope: 'publish_actions,email'
    });
}
    
16.12.2016 / 04:29