Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@alrocar
Created October 11, 2014 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alrocar/05dab5875dc5c6d7a3fc to your computer and use it in GitHub Desktop.
Save alrocar/05dab5875dc5c6d7a3fc to your computer and use it in GitHub Desktop.
How to invite all your friends to your Facebook page
// Open the Javascript console of your favourite browser
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
//Go to Facebook, search for your page, Go to 'Invite friends'. Scroll to make visible all your friends
jQuery('._1sm').each(function() {$(this).click();});
//and you are done, this script has been tested on October 11st 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment