How to invite all friends to like a Facebook page

Ever been through the hustle of inviting friends one by one to like your Facebook page? Hectic is all i can say to describe it. A number of users often search about how to invite friends to like my Facebook business page and fail to get clear solutions because the Facebook code to invite all friends alternates according to browsers.

like a facebook fanpage

In this article am going to show you the exact steps on how to invite all friends to like a page on Facebook. So how do i invite friends to like my Facebook page? Simple! We aren’t going to invite friends one by one but rather will use a code to invite all Facebook friends to like a page or call it a business page. Before getting started make sure you have an Admin role on the page. In case you are not then try talking to an Admin to give you similar roles on the page or else this tutorial is irrelevant for you.

Inviting friends to like a Facebook page

Step 1 – Open your Facebook Page

The first step involves opening your Facebook page. In this tutorial we used our official Facebook page for TutorialFaq.

like a Facebook page

Step 2 – Click on Invite Friends

After opening your Facebook page, click on the tab with three dots that is right next to the message tab. If you click on it you will see a drop down with the invite friends tab. Click on ‘Invite Friends’ and you should be able to see a pop-up div.

like a Facebook page

Step 3 – Load all friends

When you click on ‘Invite Friends’, a pop up should appear. Make sure you keep scrolling until all the friends on your list are loaded.

like a Facebook page

Step 4 – Enter invite code in the Console

After all friends are loaded. All you have to do is open the browser’s console and paste the invite code in it but make sure you open the console when the pop-up window we opened in step 3 is still open or else the code won’t work. Press Ctrl + Shift + J to open your browser’s console (Mozilla and Chrome). You might see a Facebook warning discouraging you from pasting any codes in your browser’s console when your account is open but don’t mind it because this code will not steal any of your information. It is 100% secure and safe. After copying the code below, press Ctrl + V to paste it on your console when it’s windows opens then press enter to execute.

f = document.getElementsByClassName('uiButton _1sm') ; for(var i =0; i<f.length;i++){ g =f[i];;console.log('clicked'); }

The console will show you the number of Friends who have been invited. Just wait as it finishes up the task and friends will start liking your page right away. If your page becomes static, wait until it becomes active again.

Like said earlier, the code alternates depending on the browser you are using for instance Safari or Opera would require different codes. The code posted above has been tested in Google Chrome and Mozilla Firefox and it works well. This tutorial has also been updated to match the 2016 Facebook interface. In case the code doesn’t work for you in Firefox or Chrome then feel free to drop us a comment below otherwise, sharing is sexy!

Kolo Pius writes Badass articles for TutorialFAQ and loves Tourism Too. Most of the time he travels while blogging and coding. You can hire me for your next Web Project, Mobile Project or SEO Services.

Leave a Reply

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