문제

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