Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

TwitterSafe!

Ranks what kind of User this Twitter User is according http://twitter.com/evan/statuses/782291082 and according a Twitter Rank Algorithm (TR)

version: 0.9.9

TwitterSafe!

We all love twitter, but there's several kinds of users and lately there's even some spammers. This little script ranks twitter users by the ratio of friends / followers making it easy to choose who to follow and who to drop...

The Twitter Rank Algorithm takes 3 things into account. The linking behavior (LB), the Twitter Participation (TP), and the Surprising Factor (SF)

LB=(2*Followers+Following)/3

TP=(#Updates/(Hours between Now and bottom Tweet))

SF=1+log(Favorites + 1)

The TwitterRank (TR) is then given by:

TR=log(1+LB*TP*SF)

Note that log is natural log, not base 10.

If you have a comment or a suggestion that might improve the ranking system, please use the comments bellow. I'd love to have feedback on how you used TwitterSafe!






Jul 27, 2008
PatrickTulskie User

Just one small thing... in this line here:
R=((2*v1+v2)/3)*(v4/T)*(1+Math.log(v3+1));

With the v1+v2 you are combining 2 strings before multiplying by 2. For example I have 91 followers and 96 I'm following... this creates a number of "9691" and then multiplies by 2.

This obviously throws off your calculation.

A fix would be:
R=((2*Number(v1)+Number(v2))/3)*(v4/T)*(1+Math.log(v3+1));

Or you could cast v1 through v4 to numbers in the variables earlier in the script for additional accuracy. Javascript is such a pain in the ass sometimes.

 
Jun 25, 2008
rebel_leader User

Seems not to work with every twitterer / follower, at least in my case...Mozilla Firefox v.3.0, WinXP Pro SP3 win32

 
Jun 20, 2008
David Rodrigues Script's author

Version 0.9.9

Twitter changed some things over the past few days so they broke this script. I've updated it no recalculate the TwitteRank again... until Twitter breaks it again...

Thank you all for alerting me to the change in Twitter.

 
Jun 11, 2008
teukkam Scriptwright

I guess something has changed on twitter, it is showing N.N. is a bot, alert!; TR=NaN for everyone.

 
May 5, 2008
Bill Williams Scriptwright

Kudos - great script.

 
May 5, 2008
David Rodrigues Script's author

Version 0.9.8

This version changes the Evan Prodromou social scale. Now, if the Twitter Rank TR < 6 the Evan Prodromou social scale is different and will take into account that probably the user is just starting twittering...

 
May 5, 2008
David Rodrigues Script's author

Version 0.9.6

Twitter made small changes in the layout of the user pages and it broke the TwitterSafe! Please upgrade to this version to use TwitterSafe! again.

You could comment on this script if you were logged in.