auth.getSession returns Invalid Parameter

Aug 12, 2010 at 12:26 PM

I'm attempting to create a session proxy as discussed here - http://wiki.developers.facebook.com/index.php/Session_Proxy
I've attempted to implement this proxy using a simple approach:

_facebook.Auth.GetSession(request.AuthenticationToken);

and with a custom request:

var parameterList = new Dictionary<string, string> { { "method", "auth.getSession" } };
Utilities.AddOptionalParameter(parameterList, "auth_token", request.AuthenticationToken);
Utilities.AddOptionalParameter(parameterList, "generate_session_secret", request.GenerateSessionSecret);

return _facebook.SendRequest(parameterList, false);

The input paramters in both cases are coming from the iPhone SDK and look to be correct. However, both calls result in error code 100, "Invalid Parameter" from Facebook. The test console here http://developers.facebook.com/docs/reference/rest/auth.getSession returns the same thing. A workaround that seemed relevant was discussed here http://facebooktoolkit.codeplex.com/workitem/17383 but that workaround is no longer an option in Facebook.

Ultimately my question is whether or not GetSession should be working and if so what am I doing wrong.