Advertisement
ShrewTheDrew

Instagram Auto Liker

Nov 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. let likesGiven = 0;
  2. setInterval(() => {
  3. let heart = document.getElementsByClassName('glyphsSpriteHeart__outline__24__grey_9 u-__7'),
  4. arrow = document.querySelector('.coreSpriteRightPaginationArrow');
  5. if (heart[1]) {
  6. heart = heart[1].parentElement;
  7. likesGiven++, heart.click();
  8. }
  9. arrow.click();
  10. console.log(`You've liked ${likesGiven} post(s)!`);
  11. }, 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement