private IAsyncResult BeginCall(string relativePath,
HttpVerb httpVerb,
Dictionary<string, string> args,
AsyncCallback cb, object state)
{
relativePath = (relativePath ?? String.Empty).TrimStart('/');
string url = GetApiBaseUrl(relativePath) + relativePath;
if (args == null)
args = new Dictionary<string, string>();
if (!string.IsNullOrEmpty(AccessToken))
args["access_token"] = AccessToken;
if (url.StartsWith("https://api"))
args["format"] = "json";
return BeginRequest(url, httpVerb, args, cb, state);
}