Inviting your followers to a Facebook event can be a real headache — you have to click one by one, and Facebook doesn’t offer a “Select All” button.
Luckily, with a simple and safe script, you can automatically select all followers, even as you scroll through the list.
In this article, I’ll walk you through every step in plain English so you can do it easily, even if you’ve never used the browser console before.
What This Script Does
- It automatically selects all visible followers in the “Invite Followers” popup.
- It attempts to scroll down automatically to load more names.
- If the auto-scroll doesn’t trigger, you can simply scroll manually, and the script will keep selecting new followers as they appear.
- It stops when there are no more new people to invite.
No data is sent anywhere, and nothing unsafe happens — it just clicks the same checkboxes you would manually.
Before You Start
Make sure you’re using:
- A desktop browser (Google Chrome or Microsoft Edge)
- Your Facebook Page Event
- Logged into your account
Step-by-Step Tutorial
Step 1: Open the “Invite Followers” Window
- Go to your Facebook Page event.
- Click Invite → select Followers.
- A pop-up window will appear showing your follower list.
Step 2: Open the Browser Console
You’ll use the console to run the script.
- Windows / Linux: Press
Ctrl
+Shift
+I
, then click the Console tab. - Mac: Press
Cmd
+Option
+I
, then open Console.
You should now see a panel with a text input where you can type code.
Step 3: Allow Pasting in Console
Facebook shows a warning message to protect you. You’ll see:
Warning: Don’t paste code into the DevTools Console...
Please type 'allow pasting' below and press Enter to allow pasting.
Type:
allow pasting
…then press Enter.
Now you can paste the script.
Step 4: Paste and Run the Script
Copy this exact script and paste it into the console, then press Enter:
(async () => {
const sleep = ms => new Promise(r => setTimeout(r, ms));
const dialog = document.querySelector('div[role="dialog"]');
if (!dialog) { console.log('Cannot find the window. Open “Invite Followers” first.'); return; }
// find the scrollable area
const scrollBox =
dialog.querySelector('[role="list"]') ||
Array.from(dialog.querySelectorAll('div')).find(d => {
const s = getComputedStyle(d);
return (s.overflowY.includes('auto') || s.overflowY.includes('scroll')) && d.scrollHeight > d.clientHeight;
}) || dialog;
let idlePasses = 0, totalClicked = 0;
// run until no new elements appear
while (idlePasses < 5) {
const targets = dialog.querySelectorAll('div[role="checkbox"][aria-checked="false"]');
targets.forEach(el => el.click());
totalClicked += targets.length;
// scroll to load more
scrollBox.scrollTop = scrollBox.scrollHeight;
// count passes with no new invites
idlePasses = targets.length === 0 ? idlePasses + 1 : 0;
await sleep(700); // wait for Facebook to load more
}
console.log(`Done! Selected around ${totalClicked}. Click “Send Invites”.`);
})();
Step 5: Wait for the Script to Finish
The script will:
- Try to automatically scroll down,
- Click all invite checkboxes,
- Stop when no new followers are loaded.
💡 If auto-scroll does not move the list, don’t worry!
You can scroll manually using your mouse or trackpad — as new names appear, the script will continue to automatically select them in real-time.
You’ll see all new checkboxes being ticked as you scroll.
Once you’ve reached the bottom and no more names load, the console will show:
Done! Selected around 480. Click “Send Invites”.
Step 6: Click “Send Invites”
Once the script finishes (or when you’ve reached the bottom of the list manually), press the Send Invites button.
🎉 All your followers are now invited — no more endless clicking!
⚠️ Safety Notes
- The script only works inside the “Invite Followers” window.
- It does not send data or perform any background actions.
- You can read the code yourself — it simply searches for:
div[role="checkbox"][aria-checked="false"]
and clicks them.
Tips
- Facebook may limit how many invitations you can send at once.
→ If that happens, run the script in batches (200–300 people), then wait a few minutes. - If you close the window or reload the page, just repeat the steps.
Quick Recap
- Open your event → click Invite → Followers
- Open Console (
Ctrl + Shift + I
) - Type
allow pasting
→ press Enter - Paste the script above → press Enter
- If it scrolls automatically — great!
If not, scroll manually, the script will still select followers - When finished → click Send Invites
Done!
With this small trick, you can invite hundreds or even thousands of followers to your Facebook event in just a few minutes.
Even if auto-scroll doesn’t run, manual scrolling works perfectly — the script keeps selecting everyone as you go.
Use it wisely, invite genuine followers, and save yourself hours of clicking.
Happy inviting! 🚀