private JsonObject Call(string relativePath,
HttpVerb httpVerb,
Dictionary<string, string> args)
{
relativePath = (relativePath ?? String.Empty).TrimStart('/');
var 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";
string tmp;
var obj = JsonObject.CreateFromString(Request(url,
httpVerb,
args,
out tmp), Culture);
if (obj.IsDictionary)
ThrowIfError(obj);
return obj;
}