- Open the facebook window with people yuo want to invite
- Copy the code and place on your browser url input OR open console and place
- To use in the browser url input, copy the code below:
javascript:var buttons; buttons = document.getElementsByClassName('_42ft'); for (var i = 0; i < buttons.length; i++) { if(buttons[i].getAttribute('ajaxify') != null){ if(buttons[i].getAttribute('ajaxify').indexOf('invite') != -1){ buttons[i].click(); } } }
This script automates inviting people to like your Facebook page.
π open the invite modal
π paste the script into the browser console
π and press enter
(async()=>{let e=0,t=100,o=0,l=20;function n(e,t){return Math.floor(Math.random()*(t-e+1)+e)*1e3}while(o<l&&e<t){let l=document.querySelectorAll('div[aria-label="Invite"]');if(0===l.length)console.log("No more invites found. Scrolling...");else for(let i of l){if(e>=t)return void console.log("π Done! 100 invites sent.");i.click(),e++,console.log(
β Invited: ${e}),await new Promise(e=>setTimeout(e,n(2,4)))}let i=document.querySelectorAll('div[aria-label="Invite"]');if(i.length>0)i[i.length-1].scrollIntoView({behavior:"smooth",block:"end"}),console.log("β¬ Scrolling to load more invites...");else{console.log("β No more invite buttons found to scroll.");break}await new Promise(e=>setTimeout(e,n(2,4))),o++}console.log("π Finished inviting as many as possible!")})();