Have you ever wondered how you can invite all your friends to like a page on Facebook? What if you’re hosting a rager and want to invite everyone you know to your Facebook event?
Instead of manually clicking on each friend invite (lame!), you can use this script to automatically invite all your friends to your Facebook page or to an event .
For example, I used this script and invited all my friends to like the Flux Chargers Facebook page. (give one a similar one while you’re at it, okay?)
December 2017 Update: Facebook updated its algorithm and now you can only invite up to 500 people per day?
Facebook Invites All Scripts
Here are 2 ways to invite massively on FB:
1) Use a Google Chrome extension to invite all your friends to Facebook
- Install the chrome extension. Here is the install link.
- Go to your Facebook page and click Invite Friends (the button is hidden under “…” below the cover image).
- Use the extension (looks like a check mark
in your browser bar) and invite all your friends
- Wait a few seconds. Take a deep breath, meditate. You have successfully selected all your friends and invited them.
2) Use this script to invite all your friends on Facebook to like one page at a time
Inviting all your friends to like your page shouldn’t be cumbersome. Here is the simple solution written in Javascript.
Note: For this to work you need to use Google Chrome(some people have reported that this also works on Firefox).
var inputs = document.getElementsByClassName(‘_1sm’); for(var I=0;I<inputs.length;I++) { inputs(I).click(); } |
Not
- Go to your Facebook page and click on the rightmost button under the cover photo that looks like (“…”). Click on Invite friends.
- Scroll to the bottom of the list that just appeared.
- Type ” javascript: ” in the address bar. (Note the semicolon after javascript, no quotes).
- Paste the above code after “javascript:”
- hit Enter . So! All your Facebook friends are invited.
Simple, right?
Now onto the next script…
Invite people who liked your post to like your page on Facebook
var inputs = document.querySelectorAll(‘a._42ft._4jy0._4jy3._517h._51sy’); for(var I=1; I<inputs.length;I++) { inputs(I).click();} |
If you want invite people who liked a post to like your page, use this code instead. Do not forget to follow the instructions described above.
PS: If you have any problems, let me know in the comments!
Facebook Invite Event Code
Code to invite all friends to a Facebook event at once
Again, use Google Chrome to achieve this.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
elms = document.getElementsByName(“profileChooserItems”)(0); var tmpElms = (); var tmpElmsObj = {}; elmsClass = document.getElementsByClassName(‘_1pu0’); for (I = 0; I < elmsClass.length; I++) { var id = elmsClass(I).getAttribute(“data-reactid”); var classActive = elmsClass(I).getElementsByClassName(‘_1pu2’)(0); id = classActive.getAttribute(“aria-labelledby”); classActive.className = “_1pu2 _1pu3”; classActive.setAttribute(‘aria-checked’, true); id = id.split(‘-‘); id = id(0); tmpElmsObj(id) = 1; tmpElms.push(id); } document.getElementsByName(‘profileChooserItems’)(0).value = JSON.stringify(tmpElmsObj); void(0); |
Go to the Facebook event page
- Click “Share” > “Invite Friends”
- Scroll to the bottom of the list that has just appeared.
- Type ” javascript: ” in the address bar. (Note the semicolon after javascript, no quotes).
- Paste the prompt all to the event code right after “javascript:”
- hit Send invitations . So! All your Facebook friends are invited to your event.
PS: I tried this and it worked, but if for some reason it’s not for you, let me know, I’ll update the script.
But what if you don’t want to use a code and would rather politely message someone?
Here’s how you can ask someone to like your page.
I would say something like, “Hi (name), I just created a new FB page (link) that talks about (topic) that I’m really passionate about. I would appreciate if you can hook me up with a like. If not, no problem. Anyway, thanks “
Another hack: you can convert your personal page into a profile and turn all your friends into likes.
Like this Facebook invite all friends hack? Share it with a growth hacker friend who might find this tip useful.
If you liked this tip on Facebook, you will definitely appreciate:
→ READ ALSO: Verify on Facebook: page or profile (blue + gray verification badge)
→ READ ALSO: How to Increase Your Alexa Ranking in 2019 (Quickly)
→ READ ALSO: How to contact Instagram
Mots clés: #Invite #Facebook #Friends #Page #Event #Facebook #Code
→ READ ALSO : How to Contact Instagram
→ READ ALSO : Eudoxie Yao Assaulted In France (The Reason)
→ READ ALSO : Adding Links To Page Stories Is Now Possible
Suivez tous les scores en direct ici !
![](https://doingbuzz.com/wp-content/uploads/2020/02/BOURSES2-1-scaled.jpg)