How to remove a twitter user from your following list

by Viper 22. May 2009 05:32

In this code snippet I will show you how you can remove a twitter user from your follow list. Twitter API calls it destroying friendship.


static void RemoveFromFollow(string userName)
{
 IFluentTwitter ft = FluentTwitter.CreateRequest();
 ft.AuthenticateAs(LOGIN_NAME, PASSWORD);
 ft.Friendships().Destroy(userName);
 var resp = ft.Request();
 if (null != resp)
 {
  TwitterUser user = resp.AsUser();
  if (null != user)
  {}
 }
}

 

Views: 7121

Tags: ,

Twitter

blog comments powered by Disqus

Smart Phones Poll

What smart phone do you currently own?





Show Results

Month List

Powered by BlogEngine.NET 2.0.0.49
Theme by Naveen Kohli