Code to Invite all Friends on Facebook Page in One Click

0

Facebook pages are one of the best way of building loyal audience. Just creating a facebook page is not enough we also need a good amount of likes. Getting likes on your facebook page is definately not an easy task. One of the most official way to do this is by inviting your facebook friends to like your page. Well inviting all your facebook friends to like your facebook page is a huge task especially when you have thousands of friends. No you just can’t click invite button manually thousands of times.

So to simplify this process we can use javascript’s. All browsers allow us to run javascript’s on each and every websites, actually this concept was introduced for web developers in order to debug their websites. So there is a simple javascript’s code that automatically click the invite button every time. So this method is really a life saver for people who have thousands of friends.


So just follow the simple guide given below to invite all friends to your facebook page.

Code to Invite all Friends on Facebook

 

How to Invite all your Friends on Facebook Page in Single Click

  • First of all Login to your facebook account and navigate to the your facebook Page where you want to invite friends. Make sure you use facebook as normal user.
  • If you are the admin of the page then you can click on “Build Audience” tab and then click on Invite Friends.

         Code to Invite all Friends on Facebook Page in One Click

  • If you’re not the admin then click on “More Options” button next to message and then select Invite Friends.

      Code to Invite all Friends on Facebook Page in One Click

  • Now scroll down untill all of your friends get listed in it.
  • If you are a chrome user then hit Ctrl+Shift+J to open developer console otherwise if you are a Firefox users then hit Ctrl+Shift+K to open developer console.
  • Copy the code given below and paste it in developer console and hit enter. 

var inputs = document.getElementsByClassName(‘uiButton _1sm’); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }

code to invite all friends on facebook page

  • Facebook might show you some warning regarding self xss but don’t worry this code is safe to use.
  • Now it will automatically start inviting all your friends to like your page, so just wait some time until the process gets completed. It may take upto two minutes.

          Code to Invite all Friends on Facebook Page in One Click


Watch video tutorial on how to invite all friends to like facebook page

Simple isn’t it? Do share this article with your friends who still manually invite all friends to like their facebook page.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.