Monday, 10 June 2013

Twitter from an asp.net

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:
  1. Download the twitterizer dll from here.
  2. Add the reference to the dll in your asp.net web application.
  3. 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
  1. Followers
  2. Friends
  3. Follow User
Status Methods
  1. User Timeline
  2. Public Timeline
  3. Friends Timeline
  4. Show
  5. Update
  6. Destroy
  7. Replies
Direct Messages
  1. Sent To User
  2. Sent From User
  3. New Direct Message


Read more: http://www.techartifact.com/blogs/2009/05/twitter-from-aspnet-application.html#ixzz2Vndw1Obj

No comments:

Post a Comment