Mar 5, 2010

Add All Your Friends To A Facebook Fan Page Or Group

Recently, John Chow made a post (found here) showing us all how to use a little JavaScript trickery to do what normally would be a rather tedious task on Facebook, inviting ALL of your friends to a group or fan page. If you read through the comments made on his post, you’ll notice quite a few people saying the method is dead. I beg to differ!

To resurrect this method and to help John Chow and his hearty following, I’ve come up with 2 simple alternatives to help you continue to easily do this task without resorting back to clicking on each and every one of your friends. The first method uses the same code John posted, but very slightly altered to ensure that it works every time. Here’s how to implement it, if you’re a FireFox user, without having to paste the code into the URL bar every time:

Step 1: Enable your Bookmarks Toolbar (if it isn’t already)

1a: Right-click the menu bar and make sure there is a check next to “Bookmarks Toolbar”

Step 2: Add a new bookmark to the toolbar

2a: Right-click the Bookmarks Toolbar and select “New Bookmark…”

Step 3: Edit the bookmark properties

3a: Type a short name for your bookmark (shorter is better!)

3b: Paste the following, slightly modified, JavaScript snippet into the “Location” setting

3c: Click the “Add” button (you should have noticed your newly made button by now)

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

That’s all there is to it! You can go test it out now. If you find that this method still no longer works for you, then Facebook is up to its silly little games again. They seem to roll-out changes to people at different times. For me, this method is still alive and well. If you can’t use this method, here’s another simple alternative for you FireFox users:

Step 1: Install the Greasemonkey extension (found here)

Step 2: Install this Greasemonkey script (found here)

Yup, simple as clicking the install buttons found on each of those sites. If you’ve followed all the steps correctly, you should now have 2 working methods to select all your friends on Facebook. Happy inviting!

As you may have noticed, I’ve only explained how to use these methods using FireFox instead of Internet Explorer, Opera, Safari, or Google Chrome. While they may work in alternative browsers, I haven’t tested. The only browser I use is FireFox. Please feel free to tryout the other browsers and let me know how it goes for you. The bookmark method should be cross-compatible with all browsers that support JavaScript. As far as the Greasemonkey method goes, there may or may not be Greasemonkey plugins/extensions for other browsers. If there is, I can’t guarantee my script will work on them. Anyways, if you try other browsers, let me know how it goes.

7 comments:

admin said...

Can I ask why you have stolen my blog post without even considering giving me any credit? I am the writer at http://arvo.im

queeniegoldmeir said...

Facebook Advertising not only gives you and your business wonderful results, but with it, you can only advertise to people who are interested and willing to buy your products. Additionally, you can also target the gender, age, and location of your clients or customers.

jhon said...

Its nice tip. Thanks for sharing. Facebook cms provide different kind of custom Facebook applications which gives your business a high approach.

Angelina said...

Wow these sites are awesome and informational to me, I think this types of informational blog attracts me much important.
iPhone App Developers

Angelina said...

The site is really awesome and informational to me, i am really impressed and wanna say hats off to you.
iPhone Application Developers

Shasing19 said...

This was a nice blog and I had a great time reading your post with regards to Facebook fan page on how to add friends. I am impressed with your insights. Keep bringing useful post with us.

leena david said...

Really fantastic article regarding the project. I just really love it. Thanks for making a wonderful share!

galaxy note 2 cases

Search

Google
 

This blog is brought to you by 123Network which is owned by Yogesh Goel.
All queries & problems can be sent to yogeshgoel[@]gmail[.]com or here.