STEP 1: 

Log in to your personal Facebook profile and go the the Facebook page you want to invite everyone to. You must be using your personal Facebook profile and be an Admin on the Facebook page. In the top, right area and click on “Build Audience” and in the drop down click “Invite Friends” button.
STEP 2: Scroll down until it loads all your friends. You need to keep scrolling down until there are no more to load. If you only scroll down half way it will only invite half your friends.

STEP 3: Open the JavaScript console. Using Chrome you you simply press [CTRL + Shift + J] and when the console opens paste the following code EXACTLY AS IT IS.

facebook code to invite

That is a graphic because if you copy and paste it you will pick up an “&” that you dont see but is included when you copy it. With that being said, here it is so you can copy it. Just make sure after you paste it in the consule you make sure it is exactly whats here or else it wont work when you invite all your Facebook friends to your page.

javascript:var inputs = document.getElementsByClassName(‘uiButton _1sm’); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }

STEP 4:

Press enter, and wait for it to send all the invites. I have 5,000 Facebook friends and it took about 90 seconds to invite them all.

Your Facebook Friends Have Been Invited

Congratulations. You did it! We’ll update the code as it periodically gets blocked by Facebook and we have to post another. Before you go you might want to check out a few other tricks we know.

Don’t  forget to “Like us on Facebook