If you liked the post, Share on Facebook, Tweet and Google Plus (use buttons above). You can also Subscribe to our feed via Email for free.
Home » Website Reviews and Tutorials » Invite All Friends to Facebook Group/Page
Invite All Friends to Facebook Group/Page
This is really frustrating for not being able to suggest or invite a facebook group, fan page or application profile page to all your facebook contacts in one click. How do you feel to select 500 friends with 500 mouse click?
But Finally We have its Solution.
We will use JavaScript code to invite our friends
- Goto your Facebook page. eg. www.facebook.com/pages/jabrooblogspotcom/178148142212078
- Click “Suggest to friends” or “Invite to friends” on group, fan page or events page.
- A suggestion window will open. From the drop down menu, select search all friends Scroll down till it shows all ur friends.
- Paste the following code on to the address bar of your browser:
javascript:function check_all_in_document(doc){var c=new Array();c=doc.getElementsByTagName('input');for(var i=0;i<c.length;i++){if(c[i].type=='checkbox'){c[i].click();}}}check_all_in_document(window.document);for(var j=0;j<window.frames.length;j++){check_all_in_document(window.frames[j].document);}
Or javascript:javascript:var elms=document.getElementsByName("checkableitems[]");for(var count=0;count<elms.length;count++){var t = setTimeout("elms[" count "].click()",100)}
- If all goes well, it will select all of your friends!
Note: If you have a lot of friends it will take time to select all of your friends, you have to leave that window open for a long time. If you have many friends than instead of scrolling till the end you should scroll upto 100-200 friends and repeat the process for few times or otherwise the script may become inresponsive.
If you know any other method of inviting friends, you can comment here & dont forget to share this on Facebook.
1 comments:
This works for me on page and event, but how to use this in groups?
Post a Comment