[CODE] Invite All Friends To Fan Page

pyronaut

Senior Member
Joined
Dec 9, 2008
Messages
1,189
Reaction score
1,440
I'm not even sure if this is used nowadays. I don't do anything myself with facebook so not sure if it is useful to people in todays world, or if you all have bots that do it for you anyway :)

If you do need it. Then you are lucky that today is quite a slow day at work :) (Gap in projects).

Here you go :

USE INTERNET EXPLORER
- Go to your fan page
- Click suggest to friends
- Copy and paste the following code direct into the address bar. Then press enter.

Code:
javascript:var ParentNode = document.getElementById('friends');
var Children = ParentNode.childNodes;
for(var i=0; i < Children.length; i++)
{
	Children[i].childNodes[0].click();
}

Remember this only works in IE. No other browser. I could probably make it work in them, but for now I couldn't care less.

Also, for those of you who have been hanging out for this (If there is any of you still out there), just get off your ass and do it yourself. I don't code in raw javascript ever in my programming career, and I googled basically every single line.

Enjoy!
 
It doesn't matter if you select all your friends anymore. Only a certain amount of invites get sent anyways. Facebook changed things. Thanks for the code though!
 
It doesn't matter if you select all your friends anymore. Only a certain amount of invites get sent anyways. Facebook changed things. Thanks for the code though!

Heh. Shows how much I keep track of things :). I just saw threads asking for it so may aswell fulfil that request.
 
OMG I want to F'''''''''' kiss you, thanks for posting!

If you want some free advertising on FB let me know ;)
 
Last edited:
sucks I dont want to mess with my friends on FB, need to access a 5k or bigger account and then hit this in there, good work mate
 
This code sucks, Whoever made it didnt know what they were doing. In addition, it only works for Internet Explorer.

Lame!!

-Seo Steve

Don't let the door hit you in the ass on the way out. All I have seen from you is lame ass posts asking questions about things that have been answered a million times on this forum. Seems like you are doing nothing more than trying to increase your post count.
 
This code sucks, Whoever made it didnt know what they were doing. In addition, it only works for Internet Explorer.

Lame!!

-Seo Steve


For a person that has had as little success as you have in IM, crying about google and your customers hating you because you suck at your job. You sure do talk alot of shit.
 
Dam it!!!

Works with events and pages. NOT Groups though! FYI

javascript:fs.select_all()

I LOVE IT!!!

-Seo Steve

Once again, stating something that everyone already knows and has been discussed here at length.

Thanks again Captain Obvious.
 
PS. No one answered my question!! How do I get these dam Java beans off of my computer! There everywhere, like 30 of them!![/I]

They arent java beans, they are probably roaches thats been in your moms basement for quite some time. If you cleaned your basement bedroom more often I am sure you can cut them down to 10-12 tops.
 
SEOSteve Use ATF Cleaner or CCleaner and thank you for taking the credits :)
 
Im pretty sure these codes do not work. Yea, they select everyone and you can send invites, but click 'suggest page' again. The invites were not sent. I think you can only select 50 or less, send invites, then repeat until all invites are sent
 
ignore the bad men and eventually theyll go away
 
Im pretty sure these codes do not work. Yea, they select everyone and you can send invites, but click 'suggest page' again. The invites were not sent. I think you can only select 50 or less, send invites, then repeat until all invites are sent

You can do this still. Change this line in the original code :

Code:
for(var i=0; i < Children.length; i++)

to :

Code:
for(var i=0; i < 50; i++)

Fiddle around with the number if you want it to select less/more etc.
 
Code:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

or:

Code:
javascript:fs.select_all();

However this has been shared before hundreds of times and everybody knows about it.
 
Back
Top