Great script to grab Facebook fans off your fan page updated 7/22/11

Here is a great piece of javascript code that will grab all of the Facebook fans off your fan page. This really comes in handy if you have more than say 200 fans on your fan page. What you do to make the script work is:

1.) get google chrome here

2.) click on the wrench in the top right then click on tools -> javascript console

3.) login to the facebook then go to your facebook fan page ** UPDATE ** MAKE SURE YOU ARE USING FACEBOOK AS YOUR FAN PAGE OR YOU WILL GET A PROFILE ID ERROR WHEN RUNNING THE SCRIPT **

4.) now click on scripts in the javascript console and cut and paste the script from the above link then hit enter

5.) tadah…the script will now start spitting on the names of all your fans

also, if you have more than 1000 fans you want to change this in the script before you copy and paste it

var endPage = 10; // change this if you have more than 1,000 fans
if you have any more questions check out adamloving.com or post a comment here and maybe i can help!
now you’re pushing it if you really want me to do all the work for you…if now you have the fan list and you need to remove everything but their names you want to download textpad here then once you get it click on search then replace then make sure “regular expression” is checked then do this
search for: ^.*[1-9],
replace with: “nothing” not the actual word just nothing
now do
search for ,.*
replace with, you guessed it….NADDA
and you’ll have just the name!

Leave a Reply