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: 248

▶ 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

Subscribe to Our E-Blast

WIN TICKETS

Hugel
Saturday, Nov 7 @ Greek Theatre, Berkeley

Bonobo
Saturday, Nov 14 @ Fox Theater, Oakland

Pretty Lights
Thursday-Sunday, Nov 19-21 @ Fox Theater, Oakland

Ozomatli
Saturday, Nov. 21 @ UC Theatre, Berkeley

Connect

Members

Photos

  • Add Photos
  • View All

Latest Activity

A video by Editor's Pick was featured

Digable Planets on “Jazz Rap”, Winning a Grammy & the Decline of Rap Groups | The Almanac of Rap

Digable Planets helped redefine the possibilities of hip-hop in the early 1990s, blending jazz, funk, political consciousness, and a distinctly cosmic sensibility into a sound that resisted easy categorization. More than three decades later, Ishmael…
4 hours ago
Editor's Pick updated an event
Thumbnail

Elevation (1st Fridays) with Dedan & Renoir (aka Ren the Vinyl Archaeologist) at Golden Ratio, Oakland

December 4, 2026 at 9pm to January 1, 2027 at 1:45pm
FRIDAY, DEC 4 True Skool presents ELEVATION (1st Fridays)Featuring:Dedan Renoir (aka Ren the Vinyl Archaeologist)@ Golden Ratio, 1517 Franklin St., Oakland 21+ / Doors 9pm / FREE B4 10pmFree B4 11pm with RSVP: http://bit.ly/elevationfirstfridayABOUTELEVATION is a brand new party series! Curated by renowned DJ and crate-digger Renoir…See More
5 hours ago
realmuzik posted a discussion

AggronympH Drop Stand Out Single "Overdose"

“Overdose,” the fourth track on AggronympH’s 2015 album *Shivers In My Veins*, is a haunting study in melancholy.The song takes its time building an immersive atmosphere, drawing listeners into a landscape of loss, isolation, and fading hope. It begins with a soothing piano passage, surrounded by sparkling, dreamlike sounds that seem to drift weightlessly. Gentle beats and softly rattling cymbals…See More
yesterday
Editor's Pick posted discussions
yesterday
Editor's Pick posted discussions
Friday
TEAM BIGGA RANKIN posted a discussion

Sue Ann Carwell "The Things Lovers Do"

Sue Ann Carwell is a two-time Grammy Award–winning and seven-time Grammy–nominated vocalist whose career spans decades of soul, R&B, funk, and blues excellence. Born in Chicago, Illinois, she moved with her family to St. Paul, Minnesota at a youthful age, where her extraordinary musical gifts quickly became clear. As a teenager, she emerged on the Minneapolis R&B scene, winning local talent shows with her band Enterprise Band of Pleasure performing alongside influential musicians such…See More
Thursday
Editor's Pick posted videos
Thursday
48 events by Editor's Pick were featured
Thursday
Editor's Pick posted events
Thursday
Editor's Pick shared their discussion on Facebook
Thursday
realmuzik posted a discussion

Hoodtrophy Releases Captivating New Single "Tour Song" ft. Gritty Lex

Hoodtrophy Bino just dropped a new hit single titled “Tour Song” ft. Gritty Lex. “Tour Song” is a heavy-hitting West Coast hip-hop anthem that captures the raw, fast-paced energy of life on the road. Directed by Bullet Loko and inspired by their recent tour stint with Chief Keef, the official visual pairs city skylines, travel shots, and high-energy performances.…See More
Thursday
Editor's Pick posted discussions
Wednesday

© 2026   Created by Ren the Vinyl Archaeologist.   Powered by

Badges  |  Report an Issue  |  Terms of Service