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
});