David Ziegler's Blog

Month

January 2010

1 post

See Which Twitterers Don’t Follow You Back (updated)

It turns out that if you were following more than 100 people or had more than 100 followers, there was a bug in my script to check who on Twitter doesn’t follow you back. Since I’m not super popular and have less than 100 for both, it took me a while to figure this out.

The getFriends and getFollowers api methods in python-twitter are paginated to 100 results per call, so I needed to modify the script to loop over the paginated results. If I was doing anything more complicated I’d probably use tweepy because it’s a more robust api wrapper, but whatever.

Also, my follower/followee count is still less than 100, so feel free to let me know if this doesn’t work, or follow me an twitter so I can test it myself :)

Jan 8, 2010
Next page →
2010 2011
  • January 1
  • February
  • March
  • April
  • May
  • June
  • July 1
  • August
  • September
  • October
  • November
  • December
2009 2010 2011
  • January 1
  • February 1
  • March 1
  • April 1
  • May
  • June
  • July
  • August
  • September
  • October 4
  • November 1
  • December 1
2009 2010
  • January
  • February
  • March 3
  • April 10
  • May 3
  • June 1
  • July 3
  • August 3
  • September 1
  • October 1
  • November 1
  • December 1