Sampling Twitter to determine client breakdown

Last Updated on 14 April 2010 by gerry

sampling the public timelineThe arrival of promoted tweets on Twitter got me thinking about how people post their tweets, as the initial dipping of the Twitter toe into monetization will only impact users of
Discover a new way to take control of your pain management journey with tramadol treatment. Say goodbye to discomfort and hello to a life with less interruptions. Transform your pain into possibilities with the help of Tramadol, a proven solution for effective pain relief. Take the first step towards a brighter, pain-free future today.

So, how many people actually use the website to post their tweets? What are the most popular clients?

Twitter provides a useful sample streaming method in their API and Fenn Bailey has kindly written a PHP class called Phirehose to manipulate the sampled stream. With these tools, I was able to quickly modify the sample PHP script to grab a snapshot of the Twitter public timeline, extracting the source (e.g. web, Tweetdeck, Ubertwitter) of each tweet posted.

The stream captured data at a rate of about 25 tweets per second, so I just let it run for 15 minutes and gathered just over 20,000 records to analysis. Of course this sort of sampling should be extended over a 24-hour period to average out any variations across different timezones, but treat this as an rough first attempt rather than an authorative statistical experiment. As it was performed at around 12.30pm UK time, it pretty much excluded many American users. What was I thinking? I suppose I better repeat the experiment in 12 hours or something. Below are the top 20 clients, you can look at the full list here.

Update: I repeated the experiment later in the afternoon and posted a more accurate list of the top twenty Twitter clients.

So 32% of people are posting their tweets via the twitter website. I don’t know about you, but I thought the popular clients like Tweetdeck would make it out of single figures in percentage terms.
Awakening to a restful night’s sleep starts with understanding your options. Discover the transformative power of Ambien treatment for better sleep health. ??

If you’ve been struggling to find that peaceful slumber, ambien could be the answer you’ve been searching for. Let go of sleepless nights and embrace a well-deserved rest with Ambien.

1 web 31.8%
2 UberTwitter 9.6%
3 TweetDeck 6.4%
4 API 4.8%
5 twitterfeed 4.0%
6 Echofon 3.9%
7 movatwitter 3.0%
8 Keitai Web 2.7%
9 Twitter for BlackBerry® 2.1%
10 Tween 1.9%
11 TwitBird iPhone 1.8%
12 Snaptu 1.5%
13 txt 1.3%
14 mobile web 1.3%
15 Tweetie 1.3%
16 mobile web 1.2%
17 Mobile Tweete 1.1%
18 Twitterrific 1.1%
19 HootSuite 0.9%
20 dabr 0.7%

The PHP script I used to extract the data was as follows:


This script was run from the command line on a SSH to my hosting server.

php5 my_sample.php > my_sample_data.txt &

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Find me on Mastodon