How to Invite all friends to like Facebook Fanpage in one click

Below is the working JavaScript which will help you to Invite all friends to like Facebook Fan page in one click.

Copy below provided code and proceed to next step.

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

Once copied, open the Facebook page from which you want to send invites and click “Invite Friends” Now scroll down till the end of the list and depending up on your browser type; follow steps mentioned below.

Google Chrome Users

1.     Right click anywhere in the page and click “Inspect Element” or simply press F12 and Go to “Console” tab.

2.     Now paste the code at the end just next to the > and hit “Enter”.

Mozilla Firefox users

1.     Press Ctrl+Shift+k (Windows users) Cmd+Option+K (MAC users) on your keyboard

2.     Now paste the copied code at the end just after the >> and hit “Enter

It will now automatically invite all friends to like that page automatically

Internet Explorer Users

1.     Press F12

2.     Click “Console” tab

3.     Paste the copied code and press “Enter

Safari Users

1.     Go to “Preferences” in menu, then click “Advance” and check “Show desktop menu in desktop

2.     Now click “Develop” and then “Show error console” and just press “Command+Option+C”

3.     Paste the copied code at the end after > and hit “Enter


It takes bit time to send all invites, time depends on total number of friends in your account and partially on your internet connectivity.