Alex
Alex

Reputation: 1977

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?

Upvotes: 1

Views: 504

Answers (1)

Nate Totten
Nate Totten

Reputation: 8932

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

Upvotes: 1

Related Questions