Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / twitter

Who's not following me on Twitter?

4.23/5 (4 votes)
14 Dec 2013CPOL 14.5K  
One line of jQuery to show who's not following you on Twitter

Introduction

A simple bit of code to make it easy to see who's not following you on Twitter.

Using the Code

  1. Bring up your 'Following' page on Twitter and scroll down. Open your browser's console using one of the following keyboard shortcuts:
    • Google Chrome:
      Ctrl + Shift + J
    • Mozilla Firefox:
      Ctrl + Shift + K
    • Apple Safari:
      Ctrl + Alt + C
    • Opera:
      Ctrl + Shift + I
    • Internet Explorer:
      F12
  2. Paste the code into the console
  3. Press Enter
Everyone who isn't folowing you (from your scroll point on up) now has a background like this paragraph.
$(".stream-item").each(function(){if(!$(this).find(".user-actions").hasClass("can-dm"))$(this).css("background-color","rgba(209,42,42,.25)")});

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)