- 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!")})();