I'm building a share button that will (on the user's behalf) post some text and a link to my company facebook wall as part of a competition entry.
I need to use the scope 'publish_actions' for this. However facebook won't let me ask for that until my App has been submitted for review. How am I supposed to do that when I don't even know if my code works yet!?
I've tried creating a "test app" version of the app but it still has the same error:
window.fbAsyncInit = function() {
FB.init({
appId : 'xxxx',
xfbml : false,
version : 'v2.0'
});
};
FB.login(function(response) {
if (response.authResponse) {
} else {
}
}, {
scope: 'publish_actions',
return_scopes: true
});
If your app asks for more than than public_profile and email , it will require review by Facebook before your app can be used by people other than the app's developers.
This review usually takes less than 72 hours. In extended review: We're reviewing your app further for around 7 days, or until enough app traffic has been evaluated. You're able to earn up to $25 a day during the extended review.
People listed as Admins, Developers or Testers within the Roles section of your app dashboard can fully test the app, and request any permissions, without submitting it for review.
However, you must have your integration reviewed before launching your app to real people (people not listed in the Roles section) if you want to request the publish_action permission from them. The only permissions which do not require review are public_profile, email and user_friends.
As you're the developer of the app - you should be able to grant yourself publish_actions without any problems.
Perhaps, I am a little too late with the answer. But posting in the hope that someone else may find this useful.
There is a way of testing permissions before the app is reviewed and approved. Here goes, 1. log in to https://developers.facebook.com/ and go to your app.
Create a test app by clicking on the "Test Apps" option in the left menu. The test app will be a replica of your main(production) app.
In your test app click on "Roles" click on the Test Users tab at the top. Here you can create test users. If you test using one of these test users, you would be able to test the permissions without the app being reviewed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With