public void Authenticate([NotNull] string code, [NotNull] string redirectUri)
{
if (String.IsNullOrEmpty(code))
throw FacebookApi.Nre("code");
if (String.IsNullOrEmpty(redirectUri))
throw FacebookApi.Nre("redirectUri");
string contentType;
string json = NewApiClient().Request(
c_oauthTokenUrl,
HttpVerb.Post,
new Dictionary<string, string>
{
{"client_id", _appId},
{"client_secret", _appSecret},
{"redirect_uri", redirectUri},
{"code", code}
},
out contentType);
ParseAuthResult(contentType, json);
}