Skip to content

Instantly share code, notes, and snippets.

@darrinholst
Created February 22, 2013 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darrinholst/5009667 to your computer and use it in GitHub Desktop.
Save darrinholst/5009667 to your computer and use it in GitHub Desktop.
unique twitter clients
require 'csv'
sources = {}
CSV.foreach("/Users/darrinholst/Downloads/tweets/tweets.csv") do |row|
source = row[6]
next if source == "source"
link = source.match(/>(.*)<\/a>/)
source = link[1] if link
count = sources[source] || 0
sources[source] = count + 1
end
sources.sort_by {|_, count| count}.each do |source, count|
puts "#{source}: #{count}"
end
Seesmic Web: 1
Tweed: 1
API: 1
Spaz: 1
Tweetsville: 1
BackupMyTweets: 1
Power Twitter: 1
Instacast on iOS: 1
Path 2.0: 1
Photos on iOS: 1
YouTube on iOS: 1
Wikipanion: 1
Flipboard: 1
Safari on iOS: 1
Ubiquity: 2
CouchDB Twitter Client: 2
SoundHound on iOS: 2
iOS: 2
Hibari: 2
Camera on iOS: 3
Twitter: 4
TwitPic: 4
getprismatic.com: 6
mobile web: 7
Tweet Button: 7
Untappd: 7
Reeder: 8
BeTwittered: 8
twhirl: 10
Carbon for webOS~: 13
Swift: 13
Birdfeed: 18
Twitter for Android: 21
Endless Tweets: 23
Tweed webOS: 25
EventBox: 25
Seesmic: 27
Nambu: 27
Twinkle: 28
Twee2: 34
foursquare: 39
TweetCaster: 50
TweetDeck: 53
Instapaper: 60
Tweetie for Mac: 76
Plume?for?Android: 96
Instagram: 100
Bad Kitty: 100
Tweetbot for Mac: 125
Osfoora for Mac: 158
txt: 167
Twitter for Mac: 201
Hahlo: 234
Twitterrific for Mac: 401
Echofon: 727
Twitterrific: 771
web: 911
Twitter for iPhone: 1261
Tweetbot for iOS: 1558
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment