Question: How to delete an application request using the facebook-actionscript-api?
I am trying to delete application requests making this call in Actionscript:
Facebook.api(full_request_id, callback, "delete", "POST");
The Actionscript API then throws the following error:
Exception fault: ReferenceError: Error #1069: Property access_token not found on String and there is no default value. at com.facebook.graph.core::AbstractFacebook/api()[C:\Users\facebookGraphApi\api\com\facebook\graph\core\AbstractFacebook.as:134
Which is logical as the script at that point tries to access the value of params which is now the String "delete":
if (params.access_token == null) { params.access_token = accessToken; }
Related questions: AS3 API: Deleting App Invites