auth.getSession error.

Jun 15, 2007 at 8:49 PM

at Facebook.Components.FacebookService.CreateSession() in C:\Facebook\csharp\Facebook\Components\FacebookService.cs:line 1351

Error: Object reference not set to an instance of an object.

the getSession call return xml doesn't have a Facebook:secret node. This is the response where it's looking for the secret node..

<sessionkey xmlns=\"\">7f5c931a6b42f5dc0d0af895-561277032</sessionkey><uid xmlns=\"\">561277032</uid><expires xmlns=\"\">1182020634</expires>

Any help would be much appreciated.


Jun 16, 2007 at 12:02 AM
This should be fixed in the latest build of the code.

It is being released as v1.1 later today. You can download from the planned 1.1 release to get a fix or wait for the official release later today.
Jun 16, 2007 at 2:32 PM
Thanks Ryan, I've tweaked the code to get past it and I'll grab 1.1 when it's up.