asynchronousfacebook-c#-sdkapprequests

DeleteAsync fails while Delete suceeds when deleting appRequest


I am trying to delete an app request. I have found then when I call DeleteAsync I get an error, while when I call Delete everything works fine.

To be more specific, when I call the following code on the silverlight client side:

FacebookClient fb = new FacebookClient(token);
fb.DeleteAsync("/" + appID);

I get the following error:

The remote server returned an error: NotFound.

However when I call on the server side the non-asynchronous code:

FacebookClient fb = new FacebookClient(token);
fb.Delete("/" + appID);

The app request is successfully deleted.

Has anyone else run into a difference between synchronous and asynchronous code if the Facebook C# sdk?


Solution

  • This appears to be a bug. Please file an issue on Github. http://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues