auth.getSession returns Invalid Parameter

Aug 12, 2010 at 12:26 PM

I'm attempting to create a session proxy as discussed here -
I've attempted to implement this proxy using a simple approach:


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 returns the same thing. A workaround that seemed relevant was discussed here 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.