Last active
March 5, 2018 06:10
-
-
Save anthonyholmes/8590663 to your computer and use it in GitHub Desktop.
Facebook: Invite All Friends at Once
This file contains hidden or 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
// 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()}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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