Auto Click FB Like Button – No Coding Knowledge Required

Facebook Like Generator – Click all Like Button

Do you get lot of interesting articles in your Facebook timeline. And you want to click ‘Like’ to your friends who shared it.

But, you just want to read the articles or watch the videos in your Facebook account and then give a “Like” to all the articles at once. Its like a bulk job processing – completing all the tasks at once – Auto click Like button to all post.

You can do this with the Javascript code in this article. I have tested this code in Chrome and Firefox browsers only.

Automatically Give Like in Your Facebook

For this code to work, first you have to login to your Facebook Account and then follow the steps explained.

To write the code, Open console window from your browser. Use these keys for corresponding browser:

Firefox (F12) , Chrome ( Ctrl + Shift + j)

Browser will open a window and bottom of the page with tabs – “Inspector”, “Console”, “Debugger”, “Style Editor” etc.,

Choose “Console” Tab.

Copy the code below, paste in console window and press “Enter”.

The code will search for each “Like” button visible in your browser and click it. Once the code is completed you will be able to see that the Like button color is changed in your timeline.

JavaScript

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

varHTMLTagA=document.getElementsByTagName("a");

varcnt=0;

vari=0;

varTimerFunCall=setInterval(myTimer,50);

functionmyTimer(){

if(i<HTMLTagA.length)

{if(HTMLTagA[i].outerHTML.contains('UFILikeLink'))

{cnt=cnt+1;

console.log("Like Count: "+cnt);

HTMLTagA[i].click();

}

}

else

{console.log('Total HREF Links Processed: '+HTMLTagA.length);

clearInterval(TimerFunCall);

}

i=i+1;

returni;

}

Precautions to remember before executing the code:

Please make sure that you don’t have any unsaved work in the Firefox or Chrome or any browser before executing this code.

In case if you want to stop the execution of the code in middle, then type the “clearInterval(TimerFunCall);” in console and press Enter key.

Many javascript codes made to execute directly on browser console are vulnerable and spam. If you execute them without actually analyzing it, then you might end up in giving your Facebook access to any hacker. So, please read the code line by line once, before executing them.

Get More Followers in Facebook Twitter

Yes. Once you practice this step of giving a “Like” to your friends & followers, then it is more likely that they will return the favor. If you are a blogger & trying hard to promote your posts out to the world, then this code will help a lot.

Once you give a “Like” to any of your followers posts, it gives the impression that you are acknowledging the stories that they share. It helps in building a good relationship with you website visitors as well.

Author: Kumarapush

Kumarapush has experience in IT industry for 12+ Years including 10 Years in MNC. Has vast expertise in Microsoft Excel automation using VBA Macro. Excel to CSV converter is one of his famous tool that has been downloaded & used by 68,000 users around the globe.