Instagram auto like posts from hashtag

Instagram auto like script is an easy way to automatically like all posts from specific hashtag.

Thanks Xavier, for requesting this in the comments.

  1. Go to the Instagram and search for a hashtag
  2. Open one post
  3. Open the Console pressing Ctrl + Shift + J (Windows / Linux) or Cmd + Opt + J (Mac) 
  4. Copy the code below and paste it into the Console tab 
  5. Press Enter and wait
// Instagram: Auto Like posts from hashtag
 // Updated: 2020-05-23
 // This script is made for demonstrative purposes only. 
 // Use at your own risk. 
 // Respect the Instagram's policy and terms of use.
 function loop() {
 console.log('Script loading…please wait…');
 var Time1 = Math.ceil(Math.random() * 10) + 3;
 var Time2 = Math.ceil(Math.random() * 10) + 3;
 setTimeout(function() {
 if ( document.querySelectorAll('svg[aria-label="Unlike"]')[0]) {
 } else {
 console.log('Like the post…');
 var btn = document.querySelectorAll('svg[aria-label="Like"]');
 setTimeout(function() {
 if (document.querySelectorAll('a.coreSpriteRightPaginationArrow').length) {
 console.log('Loading next post…');
 var btn = document.querySelectorAll('a.coreSpriteRightPaginationArrow');
 } else {
 console.log('Reload the page and run the script again.!');
 }, Time1 * 1000);
 }, Time2 * 1000);

Hi, if the code is working, leave a comment below. It means a lot to everyone. 🙂

Buy me a coffeeWanna support the page?!

Did you like this? Share it!

3 comments on “Instagram auto like posts from hashtag

This code works Beautifully!

So good so far. Thank you!

Just letting you know that the code no longer works! (It cannot go to the next post)

Leave Comment