I try send a invite for my app using javascript and works, the window of invite show and send the invite, but the user dont see any notification. this is the code i use:
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId:'APP_ID',
cookie:true,
status:true,
xfbml:true
});
function FacebookInviteFriends()
{
FB.ui({
method: 'apprequests',
message: 'Your Message diaolog',
to: '204302321251236'
});
}
</script>
<a href='#' onclick="FacebookInviteFriends();">
Facebook Invite Friends Link
</a>