Advertisement
Tutanch_Anon

HOW TO INVITE ALL YOUR FRIENDS to a FB Event or Page

Aug 4th, 2013
1,258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. HOW TO INVITE ALL YOUR FRIENDS to a FB Event or Page:
  2. 如何邀請你所有的朋友到FB活動或專頁:
  3. http://www.facebook.com/photo.php?fbid=674430412639443
  4. mirrored at --> http://pastebin.com /cmapNHzx (remove space!)
  5.  
  6. a) Google Chrome:
  7.  
  8. --> Too lazy to paste code? <--
  9. Use one of these Chrome Extensions which is the easiest way to invite (remove the space from these links before clicking them!):
  10. - https://chrome.google.com/webstore/detail /facebook-friend-inviter/fojfflomljfbdfdcfmiihnijjfnnakdn
  11. - https://chrome.google.com/webstore/detail /facebook-invite-all-frien/lkifjigoeilijkcnpfdjbpdjgnbfibec
  12. - https://chrome.google.com/webstore/detail /auto-select-all-facebook/ppcjiigginhdhihbdlejjoekeemjaiml
  13. Facebook considers these apps "spammy" and may occasionally ask you to remove them as "malicious software".
  14.  
  15. --> or copy and paste the code below into your browsers Address Bar, replacing the Facebook URL. Important: make sure the javascript: part remains intact, as some browsers will remove it after you’ve pasted it in. If that’s the case, manually add javascript: to the start of the code in the Address Bar. Hit Enter on your keyboard.
  16. Note: Double click to select the text
  17.  
  18. javascript:elms=<span class="IL_AD" id="IL_AD9">document</span>.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
  19.  
  20. ***
  21.  
  22. b) Mozilla Firefox (version 6 or above):
  23.  
  24. THE STRICT INSTRUCTIONS
  25. 1) Go to your page or event and click 'Invite Friends'
  26. 2) A pop-up box will shown up, scroll all the way down (important!) until you can see all your friends in alphabetical order
  27.  
  28. 3) Go to (Tools ) --> Web Developer --> Scratchpad ...
  29. or hold down the "Shift" key and tap "F4"
  30. 4) Another window will show up with code in it.
  31.  
  32. 5) Copy this code and paste it in the bottom of the box:
  33. javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if(elms[i].type="checkbox" )elms[i].click()};
  34.  
  35. 6) Press CTRL + R (or click 'Execute' -> 'Run')
  36. 7) Your browser/computer may lag while it's loading; wait it out...
  37. All your friends are selected!
  38. 9) Click 'Save' at the bottom of the box; Facebook may ask for a captcha in case of a large number of friends (there's no problem with it)
  39.  
  40. alternative method:
  41. 3. Go to (Tools) --> Web Developer --> Web Console ...
  42. or press Ctr+Shift+k; paste the shown code into the bottom line and hit Enter;
  43. then proceed as described above
  44.  
  45. IF YOU GET A SECURITY CHECK, YOU MAY USE THIS ONE:
  46. javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
  47.  
  48. *****
  49.  
  50. c) Internet Explorer:
  51. 3. hit F12 instead, else proceed according to the above
  52.  
  53. *****
  54.  
  55. d) alternative Code:
  56.  
  57. javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
  58.  
  59. *****
  60.  
  61. See also:
  62. http://www.youtube.com/watch?v=XP6kbkabQpo
  63.  
  64. *****
  65.  
  66. Thanks to Google for providing a cached version of this information as it was posted at our previous link (deleted by Facebook):
  67. http://www.facebook.com/photo.php?fbid=501433656579798
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement