0.0
No commit activity in last 3 years
No release in over 3 years
A utility for analysing Twitter user tweet patterns
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.3.2
 Project Readme

Overview¶ ↑

TwitterType is a basic utility that analyses a Twitter user’s tweets and determine what type of Tweeter the user is. The set of types identified are:

:chatter

most tweets are in response to tweets by other Twitter users

:linker

most tweets include links to URLs

:retweeter

most tweets are forwarding on other people’s tweets

:originator

most tweets are original content, not containing links, retweets or responses

:unknown_inconclusive

no strong trends to base type on.

:unknown_silent

no tweets found in last 7 days

:unknown_protected_user

user has not granted public access to tweets

Usage¶ ↑

Simply run the twitter_type.rb file passing the Twitter screen name of the person you wish to analyse. The analysis of this persons most tweets from the last 7 days will be displayed.

For example:

ruby twitter_type.rb APlusK
APlusK: type :linker, #tweets 20, #replies 1, #retweets 5, #links 7

To analyse multiple Twitter user’s, simply pass each on the command line. For example:

ruby twitter_type.rb APlusK BillGates EvaLongoria
APlusK: type :originator, #tweets 20, #replies 1, #retweets 5, #links 6
BillGates: type :linker, #tweets 19, #replies 1, #retweets 2, #links 11
EvaLongoria: type :linker, #tweets 19, #replies 3, #retweets 1, #links 11

Notes¶ ↑

  • The Twitter screen name parameter is case insensitive.

  • Each tweet will only be classified as one of a link, retweet, reply or original tweet. For example, a retweet containing a link is just a retweet and not both.

Copyright¶ ↑

Copyright © 2010 Andy Marks, released under the MIT license