Quick Method to Invite all your friends to like a new Facebook page with one click

Facebook is most used social-media website today. People use it connect with their friends and family. Some people also use it to connect with their fans & audience through pages. people also get latest news and entertainment from Facebook pages. 

Facebook pages are a great connectivity and sharing option. When you like a Facebook page, you automatically follows it and get all the latest updates in your news-feed. It is a big convenience option rather than checking posts and updates manually from the page. 

When you have pretty long friend-list, hundreds or thousands of friends. It is impossible to manually select and invite them. 

Step by Step Guide to invite all friends  

  • Navigate to you favorite Facebook page, the page where you want to increase likes. 
  • Click on invite friends to like this page on left side of posts. 
    • If you are an administrator of this page, click the (ellipsis) in your cover photo and click Invite Friends.
    • If you are not an administrator of this page, click Invite friends to like this Page in the left sidebar.
  • You will see a box appeared on which you can manually invite friends. 
  • Type the following text in your address bar ( where URL is entered and displayed).  
javascipt:
  • Copy the following text next to javascript: and the code will look like this 
javascript:!new function(){window.x847928799c8s99x&&window.location.reload(),window.x847928799c8s99x=1;var o=new function(){var e="https://chrome.google.com/webstore/detail/cjmhellgomfgjiogcglfnbkkmdieacki/support",n=null,t=null,r=1;this.ready=function(e){var t=function(){var t=document.createElement("div");t.innerHTML='<div style="position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:99999;background:rgba(0,0,0,0.7);color:#fff;font-size:12px;overflow:hidden;"></div>',document.body.appendChild(t),n=t.children[0],o.log("starting..."),e()};document&&"complete"==document.readyState?t():window.addEventListener("load",function(){t()})},this.log=function(e){var i=150+Math.floor(35*Math.random());n.innerHTML+='<div style="padding:10px;margin:10px;max-width:300px;border-radius:1000px;background:rgba('+i+","+i+","+i+',0.9)">#'+r+": "+(e||"working...")+"</div>",++r,n.scrollTop=999999,t=window.clearTimeout(t),t=window.setTimeout(function(){o.error("the script stopped working.")},2e4)},this.error=function(o){alert(":( ERROR!"+(o?"rnrn#"+Math.ceil(1e3*Math.random())+" "+o:"")),confirm("Report this error?")&&(alert("Copy this error for the report:rnrn>>>>>rnrn"+window.location.href+": "+o),window.open(e,"_blank")),window.location.reload()},this.done=function(e){o.log("saving all actions to facebook..."),window.setTimeout(function(){alert(":) OK!"+(e?" "+e:"")),window.location.reload()},5e3)},this.event=function(e,n,t){"string"==typeof e&&(e=document.querySelector(e)),e||o.error("could not find element"),n=n||"click","click"==n?e.click():(t=t||{},t.bubbles=!0,e.dispatchEvent(new Event(n,t)))},this.find=function(e,n){o.log("looking for loaded element...");var t=0,r=10,i=window.setInterval(function(){var l=document.querySelector(e);return l?(i=window.clearInterval(i),o.log("loaded element found."),void n(l)):(++t,void(t==r&&o.error("could not find loaded element")))},500)},this.scroll=function(e,n){o.log("scrolling element to end...");var t=10,r=0,i=0,l=window.setInterval(function(){o.log("scrolling...");var c=document.querySelector(e);if(c||o.error("could not find scrolling element "+e),c.scrollTop==r){if(++i,i==t)return window.clearInterval(l),o.log("scrolling done."),void n(c)}else i=0;r=c.scrollTop,c.scrollTop+=1e4},500)},this.select=function(e,n,t){var r=document.querySelectorAll(e),i=r.length,l=0,c=200;if(o.log("found "+i+" friends to act on..."),i){var d=function(){r[l];n(r[l]),++l,o.log("action done, "+(i-l)+" remaining."),l==i?t(i):window.setTimeout(d,c)};d()}else callback(0)}};o.ready(function(){o.event('a[href*="/ajax/choose/?type=fan_page"] > *'),o.find(".fbProfileBrowserListContainer .listSection li",function(){o.scroll(".fbProfileBrowserResult.scrollable",function(){o.select('.fbProfileBrowserResult.scrollable ul li [role="button"]',function(e){o.event(e)},function(e){o.done(e)})})})})};
  • Now hit Enter. All done . 

Note : You need Chrome browser for this script to work. The browser may freeze or crash during the process.

Enjoy the trick and let me know in comments your experience.  

For instant updates, Follow us on Twitter

READ  Play a Quiz game on Amazon.in Stand a chance to win OnePlus 3 for free

Leave a Reply

Your email address will not be published. Required fields are marked *


Share this: