How to remove a twitter user from your following list

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)
  {}
 }
}

comments powered by Disqus

Search

Social

Weather

Monthly Posts