Home > Uncategorized > Post to Twitter using C#

Post to Twitter using C#

Simple bit of code, but I was surprised how easy this was:

Using the Yedda Twitter Library

(Mirror) http://sites.google.com/site/emailtosmsgateway/Home/twitter

  private void button1_Click(object sender, EventArgs e)
            System.Net.ServicePointManager.Expect100Continue = false;
            var t = new Yedda.Twitter();
            string strResult = t.Update("username", "password", "text", Yedda.Twitter.OutputFormatType.XML);

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: