Instagram auto like script is an easy way to automatically like all posts from specific hashtag.
Thanks Xavier, for requesting this in the comments.
- Go to the Instagram and search for a hashtag
- Open one post
- Open the Console pressing Ctrl + Shift + J (Windows / Linux) or Cmd + Opt + J (Mac)
- Copy the code below and paste it into the Console tab
- 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]) {
console.log('Skipping…');
} else {
console.log('Like the post…');
var btn = document.querySelectorAll('svg[aria-label="Like"]');
btn[0].parentElement.click();
}
setTimeout(function() {
if (document.querySelectorAll('a.coreSpriteRightPaginationArrow').length) {
console.log('Loading next post…');
var btn = document.querySelectorAll('a.coreSpriteRightPaginationArrow');
btn[0].click();
} else {
console.log('Reload the page and run the script again.!');
}
loop();
}, Time1 * 1000);
}, Time2 * 1000);
}
loop();
Hi, if the code is working, leave a comment below. It means a lot to everyone. 🙂
One comment for “Instagram auto like posts from hashtag”
Jessica
This code works Beautifully!