public API() { AuthToken = string.Empty; IsDesktopApplication = true; InstalledCulture = CultureInfo.InstalledUICulture; _auth = new auth(this); _marketplace = new marketplace(this); _admin = new admin(this); _photos = new photos(this); _friends = new friends(this); _users = new users(this); _events = new events(this); _groups = new groups(this); _notifications = new notifications(this); _profile = new profile(this); _fbml = new fbml(this); _feed = new feed(this); _fql = new fql(this); _liveMessage = new liveMessage(this); _batch = new batch(this); _pages = new pages(this); _application = new application(this); _data = new data(this); _permissions = new permissions(this); }
protected void ExecFQLBtn_Click(object sender, EventArgs e) { facebook.fql q = new facebook.fql(Master.API); facebook.feed f = new feed(Master.API); q.UseJson = UseJson.Checked; string result = q.query(TextBox1.Text); result = result.Replace("<", "<"); result = result.Replace(">", ">"); qresult.Text = result; }