// Create our Application instance (replace this with your appId and secret).
$facebook = new Facebook(array(
'appId' => 'XXXXXXXXXXXXXX',
'secret' => 'XXXXXXXXXXXXXXXXXXXX',
));
$facebook->api("/$user_id/notifications/", 'post', array(
'access_token' => 'XXXXXXXXXXXXXXXXXXXXXXXXX',
'template' => "MSG",
'href' => "www.google.com",
));
"Fatal error: Uncaught OAuthException: (#200) Cannot send notifications to a user who has not installed the app thrown"
Error occurs after the User remove permissions of the application, there is some means of detecting when the User remove the application, or ignore the error?