Created
August 22, 2013 11:42
-
-
Save jellea/6306152 to your computer and use it in GitHub Desktop.
Get all Twitter followers as html.
Paste in console while being on Twitter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = 'https://twitter.com/jellea/followers/users?include_available_features=0&include_entities=1'; | |
var list = ''; | |
var request = function(cursor){ | |
var curs = '&cursor='+cursor; | |
$.getJSON(url+curs,function(data){ | |
list+=data.items_html; | |
if(data.has_more_items){ | |
request(data.cursor); | |
} | |
}); | |
} | |
request('-1'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment