Twitter Throttle

One of my biggest pet peeves on Twitter is when people I follow slam Twitter with a bunch of tweets in a short time. Maybe I’m the only one, but it’s definitely the #1 reason I stop following people. I don’t want a single user completely taking over my Twitter page…

With this in mind, I decided to write a GreaseMonkey script today to address the problem. I call it Twitter Throttle, and what it does is hides (and groups if they’re in a row) tweets when a user has more than one tweet on my screen at the same time. It will then also add however many older tweets are needed to have the correct total viewable on the page. So, for example, if there are 5 tweets that are hidden (because the user that made the tweet has already made a tweet that is currently being displayed) then it will pull in the 5 previous tweets that are by users not yet represented on your page. This effectively ensures that if there are 20 items on the page there will be at least 20 different users on the page as well. Here’s a screenshot of what it looks like in use:

twitter-throttle-screen1

Clicking on the links will display the tweets in case you still want to read them. I’ve posted the script here if anyone is interested. Be sure to set your twitter username and password in the script (used in the API call to add in older tweets to fill in for the hidden ones). Let me know if you have any feedback.

This entry was posted in Code, Javascript and tagged , , . Bookmark the permalink.

24 Responses to Twitter Throttle

  1. Pingback: Twitter DON’Ts: The Dirty Dozen