Invite All Your Facebook Friends to Like a Page or Event on Facebook 2026
Ever wondered how you can invite all your friends to like a page on Facebook? What if you’re organizing a massive Project X and want to invite everyone you know to your Facebook event? Today I’ll show you how to invite all your Facebook friends to a page, event, fundraiser, and more. I just updated this…
Table of contents
Open Table of contents
- How to invite all friends to like a page on Facebook
- Invite people that liked your post to like your page on Facebook
- Facebook Event Invite Code
- But what if you don’t want to use any automation and would rather politely message someone?
- Like this Facebook invite all friends tutorial? Share it with a growth hacker friend who might find this trick helpful.
- Updated for May 2026
How to invite all friends to like a page on Facebook
Good news! You no longer need a script to invite all your friends to like your page on Facebook!
Facebook recently just rolled out a handy new feature that allows you to invite everyone to like your page.
Here’s how to invite all your friends to like your page:
- Go to your Facebook Fan Page
- On the right hand side, find the 3 horizontal dots and hit invite friends

- A pop up will appear, click on “Select All” on the right

- Lastly, click ****“Send invites”
****Note that you can also send invites via Messenger (capped at 50 people at the time)
While you are at it, would you please like my Future Sharks page?
Here are other useful FB invite hacks.
Invite people that liked your post to like your page on Facebook
This trick is quite useful is you ever run a post that ends up going viral. With this script you can invite everyone that liked that post, to like your page.
Note: For this to work, you must use Google Chrome (some people reported it also works on Firefox).
Steps:
-
Go to the post you want to get likes from
-
Click on the like count

-
A window will pop up. Scroll to the bottom of that list.
-
Type “javascript:” into the address bar. (Notice the colon after javascript, no quotes).
-
Paste the code below after “javascript:”
var inputs = document.querySelectorAll(‘.a8c37x1j.ni8dbmo4.stjgntxs.l9j0dhe7.ltmttdrg.g0qnabr5’); for(var i=1; i<inputs.length;i++) { inputs.click(); }
and that should do it! (Alternatively, you can manually hit invite on the people you want to invite to like your page)
PS: If you are having any troubles, just let me know in the comments!
Facebook Event Invite Code
Code to invite all friends to a Facebook event at once
Again, use Google Chrome to achieve this.
-
Go to your Facebook Event page
-
Click on “Share” > “Invite friends”

-
Scroll down to the very bottom of that list that just popped up.
-
Type “javascript:” into the address bar. (Notice the colon after javascript, no quotes).
-
Paste the invite all to event code below right after “javascript:”
-
Wait a few seconds and then hit Send Invites. Voilà! All your Facebook friends are invited to your event.
var inputs = document.getElementsByClassName(‘_1pu2’); for(var i=0; i<inputs.length; i++) { inputs.click(); }
PS: I tried this and it worked, but if for some reason it doesn’t for you, just let me know, I’ll update the script.
Note: Before saying the script doesn’t work make sure you type “javascript:” before it on the url bar.
Note: You can only invite up to 500 people per day to an event. (I don’t know about you but 500 people should be enough for all your party needs, unless you are really throwing that Project X party, in which case, you should also invite me)
Invite People to your Facebook Fundraisers
I’m seeing a great trend of people creating a fundraiser on their birthday, here’s how you can invite all your friends to your noble cause.
Again, type “javascript:” before pasting this code into the url bar 🙂
var inputs = document.querySelectorAll(’._4jy0._4jy3._4jy1._51sy.selected._42ft’); for(var i=1; i<inputs.length; i++) { inputs.click(); }
Let me know in the comments which cause you are raising money for on Facebook!
Code Explanation
Since I am a Computer Scientist, I might as well briefly explain what the script does so you know that it is not a virus, but a simple script to ease the burden of manually clicking on all friends.
Here’s what the Facebook invite all to like script does:
This line searches for the element called “.a8c37x1j…” which happens to be the invite box and loads it to the inputs variable.
var inputs = document.querySelectorAll(‘.a8c37x1j.ni8dbmo4.stjgntxs.l9j0dhe7.ltmttdrg.g0qnabr5’);
This loops for all your friends:
for(var i=0;i<inputs.length;i++)
Click on their respective invite button:
{ inputs.click(); }
But what if you don’t want to use any automation and would rather politely message someone?
Here’s how you can ask someone to like your page.
I would say something like:
“Hi ,
I just created a new FB page (link) that talks about which I am really passionate about. I would appreciate it if you can hook me up with a like. If not, no problem. Either way, thank you :)”
Another hack: You can convert your personal page into a profile and turn all your friends into likes.
Like this Facebook invite all friends tutorial? Share it with a growth hacker friend who might find this trick helpful.
If you liked this Facebook trick, you will definitely enjoy:
- ✔️ How to Get Verified on Facebook: For Business and Profile Pages
- My best Twitter scripts
- How to download any video Facebook to your computer
- How to increase your Alexa Rank quickly
- How to 10x your productivity (hint: scripts can make you waaayyy more productive than you thought possible)
- My Best SEO tips and on-page SEO factors (again a combination of tools and scripts to supercharge your SEO)
- What is the monetization strategy of Facebook?
Lastly, say hi and drop a comment below! Also let me know if you have any troubles getting the code to work! Like I said, I will be updating this post every other month.
Need other scripts? Just drop your request on the comments or tag me on social media.
This guide is part of alejandrorioja.com — written by Alejandro Rioja, who now builds AI agent systems for founders. Including the agent that keeps this site current. How it works →
Updated for May 2026
A few things have shifted since this post first went up. Meta dropped the legacy “Page” verification track in 2024 and folded it into Meta Verified ($14.99–$19.99/mo depending on tier and country) — the blue check is now a subscription, not a one-time review. Friend-request flows still work as described, though Meta moved the bulk-cancel UI deeper into mobile settings; the desktop m.facebook.com/friends/center/requests/outgoing route still works (2026-04 spot check).
Worth knowing in 2026: ~3.07B Facebook MAU (Meta Q4 2025 earnings), but the share of time-on-platform relative to Reels and WhatsApp has continued sliding. If this post is part of an outreach strategy, weight WhatsApp and Threads (yes — Threads survived the 2024 pivot speculation and crossed 200M MAU) accordingly.
Related essays
How To Download Facebook Videos To Your Computer
Ever wanted to download a Facebook video to your computer in May 2026? Here’s a quick and simple guide as to how to do it, without the need of downloading any random software. Note that you should abide by Facebook’s terms and conditions and that this is just a tutorial for educational purposes only. I…
ScriptsIncrease Alexa Rank Quickly in 2026(Best Tricks To Improve Ranking)
How can I increase my Alexa rank? Are there any tricks or tips that will boost my Alexa score? Does the Alexa Rank even matter? For a lot of website owners and new bloggers, it’s hard to get traffic and have a lower Alexa Rank. Nothing is more frustrating that putting amazing content out there…
ScriptsHow To Get Sitelinks On Google Search Results: A Step By Step Guide
There has been no doubt that Google has an important role in our lives today. Especially for website owners like us. As it is the widely used search engine on the internet, every website owner tries their best to make their pages at the top of their every Google search result page. While I was…
Get the GEO Playbook in your inbox
Every Wednesday. 28,400+ operators. Zero fluff.
Subscribe →