auth.getSession error.

Jun 15, 2007 at 7:49 PM
Hi

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=\"http://api.facebook.com/1.0/\">7f5c931a6b42f5dc0d0af895-561277032</sessionkey><uid xmlns=\"http://api.facebook.com/1.0/\">561277032</uid><expires xmlns=\"http://api.facebook.com/1.0/\">1182020634</expires>

Any help would be much appreciated.

Regards

Jo
Coordinator
Jun 15, 2007 at 11:02 PM
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 1:32 PM
Thanks Ryan, I've tweaked the code to get past it and I'll grab 1.1 when it's up.
Regards

Jo