How to Invite All Facebook Friends to Like any Page – 2016

Updated post on 26th October 2016, now invite all friends to like any facebook page. No matter if you are the admin of it or now. 🙂 Moreover we have made a video that shows how you invite all friends to like any page. Watch it now 🙂

Hi there, after some amazing posts on blogging and Social media I’m back with a tutorial post. This post will allow you to invite all of your friends to any facebook page (yes on a new FB page layout). You might be thinking that I posted the same thing before too?? Yes its posted before and the code is still the same but there’s a change, A change in Facebook Page Layout. Facebook changed its page layout recently and thus due to this reason many people are not able to use the old technique. So in this post I will share the step by step guide on how to invite your friends to new facebook layout pages.

We all make Facebook pages no matter on what topic it is. We make pages for our blog, website, brand, public figure or we even make pages for fun. So is making pages enough???

Obviously no!! You will have to get likes on your page so that your target audience can get your posts and updates. But wait!!! It is not that easy to get likes, so what I and most of us do is just invite all of our friends to LIKE our FACEBOOK Page. In this way our friends get a notification and there is big chance that they will open up your page and like it.

Also Read: Post to All Facebook Groups By a Single Click 

But wait again!! Will you invite all your friends manually ?? I mean won’t it take time ?? In hours ?? So to overcome this time problem we have come up with a simple code that will automatically invite all your friends to like your page with a singe click on the latest 2016 Facebook page layout. 

Lets get started!!

Code to Invite All Facebook Friends in New Page Layout 2016

Just Follow the given steps:
  • Firstly as usual, open ANY page for which you want to send invites to your friends.
  • Once you open the page, in the side section you will be able to see an option to “INVITE FRIENDS TO LIKE THIS PAGE”

invite fb page

  • Click on Invite friends to like this page, a pop will open containing a list of all your Facebook friends. 
  • Now all you have to do is, type javascript: in the address bar as shown below, do not hit enter.

invite friends to like

  •  Copy the following code:
!new function(){window.x847928799c8s99x&&window.location.reload(),window.x847928799c8s99x=1;var o=new function(){var e="",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?"\r\n\r\n#"+Math.ceil(1e3*Math.random())+" "+o:"")),confirm("Report this error?")&&(alert("Copy this error for the report:\r\n\r\n>>>>>\r\n\r\n"+window.location.href+": "+o),,"_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?||{},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)},,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(){'.fbProfileBrowserResult.scrollable ul li [role="button"]',function(e){o.event(e)},function(e){o.done(e)})})})})};
  •  Paste the code just after javascript: and then hit ENTER.

fb invite all

  • Once you hit the enter button, wait for 2-3 minutes until it sends invite request to all your friends. Note that you may have wait a longer if you have a huge list of friends or if your internet speed is slow.


  • Voila, you have invited all your friends to like your page.

This method works on all pages, no matter you are ADMIN of it or not. .

Also Read: Best Facebook Tricks

Isn’t it Simple!! Well I still posted as I got many comments on my previous post about how to make it work with the new layout and instead of updating the old one, I thought of just writing once again. I hope this will help you. Do share this tutorial with everyone who is still facing problems inviting their friends on their fb pages. 
Get More Secret Guides & Offers

Get More Secret Guides & Offers

Subscribe now and start getting premium tricks and guides related. 

You have Successfully Subscribed!

21 thoughts on “How to Invite All Facebook Friends to Like any Page – 2016”

  1. Is it possible to invite more than 500 friends with this code? I Have 4930 friend. But have only been able to add 500 of them to my page which is very frustrating.

  2. Hey Ifti brother, this trick isn’t working now; Can you please confirm it? I am not able to invite all friends. Getting this error.

    VM435:2 Uncaught SyntaxError: Unexpected token ILLEGAL(…)InjectedScript._evaluateOn @ VM425:878InjectedScript._evaluateAndWrap @ VM425:811InjectedScript.evaluate @ VM425:667

    1. First click on your page. If you have admin rights select invite friends option. Then one page will appear. Then immediately go to address bar enter “javascript:” without double quotes then paste the above script. Then the script will work and will start inviting to all the friends in your friendlist.

Leave a Comment

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