insomnihack

When sleep eludes, the keyboard beckons

Chirp 2010 – Some Numbers

April 14, 2010 Dale Leave a Comment

Here’s a sampling of some Twitter numbers dropped during Chirp.

  • 105,779,710 registered users at the time of the conference
  • 300K new Twitter users each day in April 2010
  • 180M uniques/month (note: only 105M users)
  • 75% of traffic from outside US
  • 60% of new registrations from outside US
  • 3 billion requests per day
  • 1500% growth per year (assuming since founding in 2006)
  • 600M search queries per day
  • 55M new tweets per day
  • 100K registered apps
  • Negotiating with 56 cell service providers worldwide on SMS contracts
  • 25% Black Eyed Peas in attendance

More to come.

Social Media twitter

Tracking followers with python-twitter

December 25, 2009 Dale 1 Comment

There are a lot of applications out there to help manage your twitter account. Much of what these applications have to offer can be achieved with very little python code. For example, say you want to find out who is following you that you’re not following. Alternately, say you want to find out who you’re following, but who isn’t following you in return. You can find this information out easily with python-twitter and a few lines of code.

[python]
#!/usr/bin/env python

import twitter

if __name__ == ‘__main__’:
api = twitter.Api(username=’username’, password=’password’)
i_follow = api.GetFriends()
follow_me = api.GetFollowers()
i = [u.name for u in i_follow]
f = [u.name for u in follow_me]
i_should_follow = [n for n in f if n not in i]
i_should_drop = [n for n in i if n not in f]

print ‘I follow:’
print ‘\n’.join(i)
print
print ‘Following me:’
print ‘\n’.join(f)
print
print ‘I should consider following:’
print ‘\n’.join(i_should_follow)
print
print ‘I should consider not following:’
print ‘\n’.join(i_should_drop)
print
[/python]

Replace the dummy user name and password and give it a go.

Programming Python, twitter

About Me

Hi, my name's Dale, and this is my tech blog. Read More…

Search

Tags

blogging c# database Django documentation Email furniture git hacks htpc IPython Linux mac nas packaging PyCharm Python Roleplaying tools twitter unit tests virtualenv Visual Studio vmware Windows

Copyright © 2025 · Equilibre Theme on Genesis Framework · WordPress · Log in