Click here to Skip to main content
15,908,013 members
Articles / Twitter
Tip/Trick

Who's not following me on Twitter?

Rate me:
Please Sign up or sign in to vote.
4.23/5 (4 votes)
14 Dec 2013CPOL 14.2K   2   5
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)


Written By
Engineer Comprehend Systems
United States United States
I've been fiddling around with computers since my parents bought me a Commodore VIC-20 for Christmas in 1981.

I received a B.Sc. in Mechanical Engineering from the University of Waterloo, but have spent my career in software development.

I focused on FoxPro during my early career before switching over to .NET and JavaScript.

I created Jooshe and wrote a Code Project article on it.

I wrote the front-end (Jooshe & JavaScript) and middleware (.NET) of dbiScript.


Comments and Discussions

 
SuggestionWhat list are you checking against. Pin
DaveAuld15-Dec-13 1:11
professionalDaveAuld15-Dec-13 1:11 
GeneralRe: What list are you checking against. Pin
Brien Givens15-Dec-13 2:14
Brien Givens15-Dec-13 2:14 
GeneralRe: What list are you checking against. Pin
DaveAuld15-Dec-13 2:20
professionalDaveAuld15-Dec-13 2:20 
GeneralOT: profile links Pin
DaveAuld15-Dec-13 2:23
professionalDaveAuld15-Dec-13 2:23 
For info, you have also fallen foul of the Professional Profile links not working for the LinkedIn and Google+

You only need to use the ID numbers and not put the whole link in (only the slightly bolded part required).

If you use the full url you copied from the address bar, it simply removes the '.'s, as a result they are both broken.

I did it and so have a few others. D'Oh! | :doh:

Cheers,
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn|GitHub

Folding Stats: Team CodeProject


GeneralRe: OT: profile links Pin
Brien Givens15-Dec-13 4:07
Brien Givens15-Dec-13 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.