public JsonObject Get([NotNull] string relativePath) { if (relativePath == null) throw Nre("relativePath"); return Call(relativePath, HttpVerb.Get, null); }
static void Main(string[] args) { // Get an access token in some manner. // By default you can only get public info. string token = null; var api = new FacebookApi(token, CultureInfo.InvariantCulture); //api.Culture = new CultureInfo("en-us"); JsonObject me = api.Get("/4"); Console.WriteLine(me.Dictionary["name"].String + " " + me.Dictionary["gender"].String); }