سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top