- 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(); } } }
You can use PhantomJS or Headless Chrome ( and inject/load JS code to it ) if PhantomJS didn't work and run it from any linux server via command line , BTW you need to increase the delay time a lot since you're using (server which runs 24/7) or better you could make the script pause the invitation for hours and make the account do anything else , son didn't get suspended from facebook .