public dynamic GetTestWithAccessToken(string accessToken) { return Test("get test with access token", () => { var fb = new FuntownClient(accessToken); return fb.Get("/me"); }); }
public dynamic GetTestWithoutAccessToken() { return Test("get test without access token", () => { var fb = new FuntownClient(); return fb.Get("4"); }); }
public void LegacyRestApiTests() { Test("legacy rest api tests", () => { var fb = new FuntownClient(); var parameters = new Dictionary<string, object>(); parameters["fields"] = new[] { "name" }; parameters["uids"] = new[] { 4 }; parameters["method"] = "users.getInfo"; return fb.Get(parameters); }); }