DEV Community

loading...

Discussion on: JavaScript INSTAGRAM bot

Collapse
alvarofelipe12 profile image
Alvaro Felipe García Méndez

I tried it and it worked... in the first photo, then in the second photo seems like the html that shows the pic and the like button, is destroyed and built again in a few seconds, so in the second photo it did the like.click() somewhere else but not in the second photo...but the next.click() works nice cause these a 'buttons' are not destroyed and changes to the next pic. Besides this, i found it very clever and fun. Can you confirm if my theory is true?

Collapse
danijelajs profile image
Danijela.js🛸 Author • Edited

I'm not sure what you mean by "destroyed" 😂 But when ever you click on the tab, it will load the code again. It's set to like every 20 seconds.