UPDATED: How To Invite All Your Facebook Friends To An Event at Once
Update as of March 2011: Facebook has changed the format of the event invite form, so the javascript code below no longer works. Use this one (courtesy of SandBlog) of instead:
javascript:elms=document.getElementsByName(“checkableitems[]”);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()};
For full details on how to use the new code, check out this tutorial video by Rayven Michelle.
~
Original post:
If you use Facebook regularly, you may be aware that the site lacks a “Select All” feature for inviting your friends to Facebook events, pages, groups, or other apps. Today, I needed to help someone promote an event on Facebook and they requested to invite each of their friends. Instead of taking hours to select everyone individually, I found a javascript code to complete the task in just a few clicks.
Here’s how to invite all your friends to a Facebook event:
1. On the event page, click “Select Guests to Invite”. The Invite Friends window will appear.
2. Scroll to the bottom of new window.
2. Copy the following code:
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
3. Paste the code in the browser address bar, then click “Enter”.
4. Now, all your friends should be selected within the Invite Friends window. Click “Send Invitations”.
In the future, I recommend creating friend lists on Facebook to target the appropriate audience for your events, then inviting guests by list. This is the method I use and it works great. Learn more about Facebook friend lists and how to create them here.

Archive
Mobile
RSS
Revista Theme
Tumblr