Skip to content

Instantly share code, notes, and snippets.

@anthonyholmes
Last active March 5, 2018 06:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anthonyholmes/8590663 to your computer and use it in GitHub Desktop.
Save anthonyholmes/8590663 to your computer and use it in GitHub Desktop.
Facebook: Invite All Friends at Once
// First, open your admin panel on your Facebook page
// Click See All in the "Invite Friends" section
// Scroll to the bottom of the popup window so all of your friends are loaded
// Open your Console in your development tools and enter this Javascript
elms=document.getElementsByClassName("uiButton _1sm");for (i=0;i<elms.length;i++){ elms[i].click()};
// If developer tools aren't enabled, paste this in your address bar
// Note: You might need to manually type the "javascript:" part if you paste
// this because Chrome strips it when you paste it.
javascript:elms=document.getElementsByClassName("uiButton _1sm");for (i=0;i<elms.length;i++){ elms[i].click()};
// For Events
elms=document.getElementsByClassName("checkableListItem");for (i=0;i<elms.length;i++){ elms[i].click()};
@Shurshik
Copy link

It can be useful for you: there is an extension that automatically invites people who liked your post - to like your page: https://www.youtube.com/watch?v=ILgrsfB9bwc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment