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.
var HTMLTagA= document.getElementsByTagName("a"); var cnt=0; var i=0; var TimerFunCall = setInterval(myTimer, 50); function myTimer() { 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; return i; }
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.
can you make auto click follow instagram