Blog

Invite all your friends to an event on Facebook using a simple code

This simple script will allow you to invite all friends to Facebook event.

To do this you will simple need to open your Facebook event page and follow the instructions:

  1. Click on the share button of your Facebook event page to invite friends
  2. A new popup will appear. Now open the Console pressing Ctrl + Shift + J (Windows / Linux) or Cmd + Opt + J (Mac) 
  3. Copy the code below and paste it into the Console tab, press enter and
  4. Click on Send Invitation button
// Updated: 2018-11-18
// This script is made for demonstrative purposes only. 
// Use at your own risk. 
// Respect the Facebook's policy and terms of use.
var inputs = document.getElementsByClassName('_1pt_');for(var i=0;i<inputs.length;i++){ inputs[i].click(); }

Don’t forget to subscribe so you can get more of this hacks and write me a comment of this is working for you.

Buy me a coffeeWanna support the page?!

Did you like this? Share it!

5 comments on “Invite all your friends to an event on Facebook using a simple code

Hi, i click on the Invite button of a Fundraising page that i created, the popup with the friends list appears, then I open the console and past your code, but i get undefined message. can you help me please? i have 5k friends to invite to an important fundraising…

Sure think, check your email

Leave Comment