Answer the question
In order to leave comments, you need to log in
How to remove the error Invalid Scopes: publish_actions when authorizing through Facebook?
An error occurred while logging in with facebook on the site
Invalid Scopes: publish_actions. 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: https://developers.facebook.com/docs/facebook-logi...
Answer the question
In order to leave comments, you need to log in
I already found it myself
in the methods:
FB.login(function(response) {
if (response.status === 'connected') {
$rootScope.getLoginFb(response);
} else if (response.status === 'not_authorized') {
// The person is logged into Facebook, but not your app.
} else {
// The person is not logged into Facebook, so we're not sure if
// they are logged into this app or not.
}
},{scope: 'publish_actions,email'});
FB.login(function(response) {
if (response.status === 'connected') {
$rootScope.getLoginFb(response);
} else if (response.status === 'not_authorized') {
// The person is logged into Facebook, but not your app.
} else {
// The person is not logged into Facebook, so we're not sure if
// they are logged into this app or not.
}
},{scope: 'publish_actions,email'});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question