How to invite all friends to a Facebook event/page :-
In my previous article i wrote about How to add all friends in Facebook group. Today my friend asked me to How to invite all friends to a Facebook page in Qhacker group.
Personally i don’t like Facebook pages in-compare to Facebook Group because group is providing the way to ask the questions. However if you have a Facebook Page or you created an Events and you want to invite your all friends then it,s not a big task.
For this demonstration i choose the Qhacker Page.
Presently my only 12 Friends like Qhacker page.
Now Click Invite Friends on whatever you are inviting people to. In the dropdown next to the search box, click See All Friends. Scroll ALL the way down until names stop loading.
Now you need a two Script here. Copy below script as per your requirement.
For PAGES Copy this code:-
javascript:elms=document.getElementsByName(“checkableitems[]“);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()}
javascript:elms=document.getElementsByName(“checkableitems[]“);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()}
For EVENTS Copy this code:-
javascript:var inputs = document.getElementsByClassName(‘uiButton _1sm’);
for(var i=0; i<inputs.length;i++) {
inputs[i].click();
}
for(var i=0; i<inputs.length;i++) {
inputs[i].click();
}
Now you need to be open the Browser console mode. To open browser console in Google Chrome pressCTRL+Shift+j and for Firefox browser press CTRL+Shift+k .
Now Paste your code that you copied from the above link in the console mode and press Enter.
Now this script will start inviting your friends.
Now after my running this script 21 Friends like this page.
If you are getting the SyntaxError: Unexpected token ILLEGAL error.
0 comments :
Post a Comment
Write some thing Good for us...........
Note: only a member of this blog may post a comment.