
This post will throw a light on how we can update our status on Twitter from an asp.net application.
The task is pretty simple as we have libraries already available on the net.
I will be using twitterizer dll to perform the task.
The following are the steps to be followed:
- Download the twitterizer dll from here.
- Add the reference to the dll in your asp.net web application.
- Write the code. For example
Twitter t = new Twitter(UserName, Password);
t.Status.Update(UpdateString);
Following are the methods and the capabilities provided by these methods which are present in the library:
User Methods
- Followers
- Friends
- Follow User
Status Methods
- User Timeline
- Public Timeline
- Friends Timeline
- Show
- Update
- Destroy
Replies
Direct Messages
- Sent To User
- Sent From User
- New Direct Message
References: Twitteriser Home Page

sunny
This code is not working for me. However i have already download the twitterizer dll(2.3.2.0) and pass the reference in my application. But still not working for me.
I want to get all the emails of my friends from my application.
Could you please suggest me little bit ? I shall be very thankful to you for this.
balaji
Hi
every one fllowing code is working xxxxxxxx.xml is web sit name its like
http://www.google.com that xml file is google.xml
String xml = wc.DownloadString(“http://twitter.com/statuses/user_timeline/XXXXXXXX.xml?count=2″);
DataSet ds = new DataSet();
ds.ReadXml(new StringReader(xml));
if (ds.Tables["status"] != null && ds.Tables["user"]!=null)
{
Response.Write(ds.Tables["status"].Rows[0]["created_at"].ToString()+” “);
Response.Write(ds.Tables["user"].Rows[0]["name"].ToString() + “”);
Response.Write(ds.Tables["status"].Rows[0]["text"].ToString() + “”);
Response.Write(ds.Tables["user"].Rows[0]["description"].ToString() + “”);
}