"Could not deserialize data returned from server"

Mar 31, 2010 at 10:56 AM

Hi!!

Today i rcived this error message from this method: Api.Friends.GetUserObjects()

What happen!?!?

Mar 31, 2010 at 11:22 AM

Facebook API changes ... here is the fix

Mar 31, 2010 at 2:29 PM

All ok!! Thanks!!

 

Mar 31, 2010 at 10:54 PM

Can you please include an updated version of Facebook.Silverlight.dll in the fix?

Thanks!

 

Apr 1, 2010 at 12:53 AM

are the binaries with the fix available now?, or we have to manually change the source code and recompile... if there are, please would you tell me where are they?

Apr 1, 2010 at 12:57 AM

ok I fpund the binaries :)

Apr 2, 2010 at 7:22 AM

Why the XML parsing is so breakable? I would expect more resilient to changes. It is acceptable that part of the information will not be parsed (e.g. the hs_info in this example), but the fact that the entire set of friends are not retrieved with this SDK is a real problem.

In addition to this problem that was resolved with the latest fixes, I get the same error when I use the API call

Message.GetThreadsInFolder I get an error: "Could not deserialize data returned from server"

I studied the response XML form Facebook and found out that the problem is in an empty message body

So here again, under extreme cases, the XML parsing causes failures in reading the entire mailbox of a user.