I’m trying to post an action on user’s timeline. I have 2 users, developer and normal user(not registred in app) and i can post on developer page but can’t normal user
here my code
FB.api('/me/MYNAMESPACE:MYACTION?BYOBJECT=' + link, 'post',
function(response) {
var msg = 'Error occured';
if (!response || response.error) {
if (response.error) {
msg += '\n\nSomething wrong \n\n' + response.error.message;
}
alert(msg);
}
else {
alert('Done! Please check your activity log');
}
});
“link” is encoded url
sendbox mode is off and permition “publish_actions” in extended permissions is checked
If the action isn’t approved you cannot post as a regular user. Only developers can do this.
Submit your action for approval.