I set up a couple of groups on Facebook and wanted to invite all my friends, but it would have taken an eternity because for some strange reason Facebook doesn’t allow you to “select all” friends when sending an invite. I mean, they’ll let you do it… but only if you click one at a time! Uugh.
Well anyway I went on a little search and found that you could cheat the system by inserting a little javascript to make it happen! Here is how to do it:
- Go to your Event, Group or page and click “Invite People”.
- Once the page has loaded you should see all of your friends, but they are not selected.
- At this point, copy and paste the javascript code below into your Web browser’s address bar, then hit “Enter”.
- If all goes well, it selects all of your friends!
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
Thanks to Hakon for originally sharing this tip. It was a lifesaver!
Twitter Comments
Related posts
- FaceBook Usernames: The Gold Rush is Upon Us!For those of you who have been long frustrated by the fact that you can’t have a reasonable freakin FaceBook...
- Tutorial: How To Put Ads on WordPress Home Page OnlyFolks, since my site has gotten fairly popular I have people who want to advertise on the home page. The...
- WordPress: Homepage Ads ONLY After The First ArticleHave you ever wondered how to show Google ads on your WordPress blog’s home page, but only after the very...
- 50% off at Restaurant.com Next 2 Days Only!Folks, I had to share this… A while back I told you about Restaurant.com in an article I put out...
- Johny’s Woopra Video and Invite CompetitionFolks, our friend Johny has uploaded a Woopra overview video which is so comprehensive it even taught me a couple...
- How the BritePic Photo Service Will Ruin Your BlogThere is a new advertising mechanism being offered by AdBrite called BritePic which allows Web authors to place advertising on...
- Group Trip Planning SimplifiedEver been in charge of planning a family reunion or group vacation? I have… and it ain’t no picnic. Luckily...
You hit the nail on the head regarding the annoyance of the individual invites on Facebook, the ability to send an invite to “all” will not only save time it will hopefully lend itself to a quicker response rate from the invitees. Great stuff as usual, thanks guys.
it only highlights the first page….not ALL people. Uggg
Nope. You’re wrong. It highlights ALL contacts. We used it on an account with over 4,000 friends and it did them all at the same time.
John P.
It only highlighted the first page for me as well. What am I missing??
Any news on this? I too only had the first page of a thousand plus friends selected.
Where there is something not available, hackers are to the rescue.
Sweet! But it’s not against FB tos is it? They’ve banned so many people for this or for that….
Brilliant javascript! I spent a bunch of time messing around with Greasemonkey FireFox scripts to try to accomplish the same thing, but your method is so simple…and it works!
Thanks so much.
Worked perfectly; thanks so much!
Kevin Grant
Operations Director
Neon Tommy
FYI, this works in Firefox perfectly, but in IE quite often you have to go one page at a time.