I'm using the ActionScript-Facebook API for my project. Facebook now leaves it up to us to delete app invites once they are used.
In their documentation, they have a JavaScript snippet to do what I need to do:
FB.api(requestId, 'delete', function(response) {console.log(response);});
Cool. The AS3 API call is like such:
Facebook.api(referID, callback, "POST");
For the life of me, I'm not sure how to work this. I've tried:
Facebook.api(referID, function(){trace("callback");}, "delete");
Facebook.api(referID, function(){trace("callback");});
Facebook.api(referID, {access_token:accessTokenString}, "delete");
Here's the documentation:
https://developers.facebook.com/docs/reference/dialogs/requests/#deleting