From Sagar, 5 Years ago, written in JavaScript.
Embed
  1. /* Mass Invite Script
  2. By Sagar Gulati */
  3.  
  4. console.log('Inviting friends, please wait...');
  5. console.log('Please allow upto 5 minutes if you have more than 500 friends.');
  6. var MyFriends = document.getElementsByClassName('_1pu2 _1pu4');
  7. for(var i=0; i<MyFriends.length;i++) {
  8. MyFriends[i].click();
  9. }
  10. console.log('Total Friends Invited: '+ MyFriends.length);
  11. console.log('Invitation successful!');
  12.