Tired of wasting time clicking on each individual contact to invite your friends to an event? Here's the solution...

Posted by Michelle Mangen on March 11, 2011 (Source: http://www.v3im.com)

 

Update March 16, 2011: Not exactly sure when Facebook rolled out the changes to their events (sometime in the last week?). The original referenced script no longer works with the newest changes. Thanks to one of the super people who commented below (Michele). He shared a new script that allows you to invite 200 at a time. His post indicates he tested in Chrome and I tested in Firefox. You can repeat the process (200 at a time). Thanks, Michele


Additional note discovered by another reader ~ if you scroll to the bottom of your friends list (in the pop-up window) before running the script in your browser it will select all friends. It may take awhile…in my tests in both Firefox and Chrome it took about 7 minutes to fully process.


Here is the new javascript: (download in .txt file)


javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};

If the code above doesn’t work please download it from the .txt file link above.

 

My job on a day-to-day basis is all about efficiency, doing more in less time and finding nifty tips and tricks that help me and my clients. That’s why I’m excited, in a geeky way (of course) about this trick that is specific to Facebook Events.

 

If you’re one of those folks who regularly creates events in Facebook, you probably know what I mean. Your wrist gets all tingly and ultimately falls asleep and you find yourself bored to tears from the sheer drudgery of all the scrolling down and clicking each friend’s avatar to invite them to your stinking event. For you, this will be one of those Hallelujah! moments.

 

And the super HooDoo VooDoo magic trick? Well, it allows you to use a nifty Javascript command in your browser. Instead of clicking each person’s name/avatar individually in the “select guests to invite” window, it will automatically select all of your friends. Hooray!


In my first test, I used Firefox and it took about seven minutes. (Firefox actually initially said “not responding,” but I left well enough alone and sure enough, voila it worked like a charm.)

 

In my second test I used Chrome and it literally worked in less than 10 seconds. Here’s what you do:

  1. Create your event and save
  2. Go back to “edit event”
  3. Chose “Select Guests to Invite” button
  4. Wait for all friends to load, which may take some time
  5. Paste the command below into address bar of your browser (NOT the search bar that shows in the pop-up box that loads when you chose “select guests to invite”)

javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}

 

This screenshot is from Chrome of the Javascript command in your browser URL area

Facebook Invite All Friends to Events Javascript Command

Be patient and let your browser do its thing ~ wait until all of your friends avatars are highlighted as “selected” guests. In the screenshot below, upper right corner you will see “1108” as the selected number.

Facebook Select All Friends

Once all of your friends are selected, you can enter a personal message (optional) and then just hit “Save and Close.”

 

Hopefully, if you’re a crazy multi-tasker like me, and creating events and inviting folks to them, you’ll enjoy this as much as I do

 

PS: Since I did test number two in Chrome I took my screenshots there using Awesome Screenshot browser add on that Shelly recently wrote about. I was a Jing user, but am now totally sold on Awesome Screenshot after trying it for the first time with the above screenshots. Woohoo!



Read more: http://www.v3im.com/2011/03/inviting-all-friends-to-facebook-events...

Views: 224

Reply to This

Best guide to hip hop, soul, reggae concerts & events in San Francisco Bay Area, Los Angeles & New York City + music, videos, radio and more

Connect

Subscribe to E-Blast

WIN TICKETS

Kraftwerk
Friday, April 18 @ Greek Theatre, Berkeley

Denzel Curry
Tuesday, May 6 @ Fox Theater, Oakland

ScHoolboy Q
Saturday, May 17 @ Fox Theater, Oakland

Steel Pulse
Thursday, May 22 @ UC Theatre, Berkeley

Earth, Wind & Fire
Friday, June 27 @ Greek Theatre, Berkeley

Macy Gray
Saturday, July 12 @ Palace of Fine Arts, SF

Members

Photos

  • Add Photos
  • View All

Latest Activity

Artistpr posted blog posts
39 minutes ago
Editor's Pick posted a discussion
18 hours ago
Artistpr posted a blog post

Heartical King Brings New Sounds to the Dancehall Scene with Vibrant Reggae Fusion

Experience the Unmatched Energy of Heartical King’s “Come De” as the Dancehall Hit Resonates with Global AudiencesLondon-based reggae virtuoso Heartical King, born Howard Noel Salmon, is making waves with his infectious dancehall and reggae-infused track "Come De." The title track from his 2021 album electrifies listeners…See More
yesterday
realmuzik posted a discussion

Marcus Auraylius Impresses With New Single "Disgusted" – A Hard-Hitting Anthem That Demands Answers

What’s the price of a soul? Is it the money, the fame, the ice, or the life we glorify? “Disgusted” isn’t just a track—it’s a statement. A lyrical deep dive into the choices, consequences, and contradictions of the streets, this song pulls no punches.With a haunting beat from OGxLoop and thought-provoking bars, Marcus Auraylius exposes the dark realities of a culture…See More
yesterday
realmuzik posted a discussion

Sherwood Announces Live London Show & New Releases This Summer

London’s rising star, Sherwøød, is set to return to the capital with his highly anticipated live performance, showcasing tracks from his upcoming EP. Following a series of sold-out shows and successful releases that have earned him international press and radio support, the acclaimed musician and producer is ready to offer a glimpse of what’s next with his emotive,…See More
Saturday
Editor's Pick posted discussions
Friday
An event by Editor's Pick was featured
Thumbnail

Yung Lean (WIN TICKETS) at Fox Theater, Oakland

October 11, 2025 from 7pm to 11pm
ENTER TO WIN A PAIR OF TICKETS. WINNER WILL BE DRAWN RANDOMLY AND ANNOUNCED 2 DAYS PRIOR TO EVENT. Saturday, October 11, 2025 Forever Yung TourYung LeanFox Theater Oakland, CADoors: 7:00pm | Show: 8:00pm…See More
Friday
Editor's Pick posted an event
Thumbnail

Yung Lean (WIN TICKETS) at Fox Theater, Oakland

October 11, 2025 from 7pm to 11pm
ENTER TO WIN A PAIR OF TICKETS. WINNER WILL BE DRAWN RANDOMLY AND ANNOUNCED 2 DAYS PRIOR TO EVENT. Saturday, October 11, 2025 Forever Yung TourYung LeanFox Theater Oakland, CADoors: 7:00pm | Show: 8:00pm…See More
Friday
A video by Editor's Pick was featured

Redman - Lalala ft. Method Man [Official Video]

The dynamic duo Redman and Method Man team up once again for "Lalala" from Redman's Muddy Waters Too album.
Friday
realmuzik posted discussions
Friday
TEAM BIGGA RANKIN posted a discussion

Introducing Unwrapped Vol. 9: Songs of Kendrick Lamar Reimagined

Introducing Unwrapped Vol. 9: Songs of Kendrick Lamar Reimagined, the latest installment in the groundbreaking series that fuses hip-hop and jazz. This volume features stunning instrumental renditions of fan-favorite tracks like “Not Like Us,” “Bitch, Don’t Kill My Vibe,” “LOYALTY,” "i," “HUMBLE,” “LOVE,” and more. Paying homage to Kendrick Lamar’s genre-defying artistry, Volume 9 reimagines his biggest hits with the Unwrapped signature blend of live instrumentation and jazz improvisation,…See More
Thursday
realmuzik posted discussions
Mar 26

© 2025   Created by Ren the Vinyl Archaeologist.   Powered by

Badges  |  Report an Issue  |  Terms of Service