DEV Community

Grohs Fabian
Grohs Fabian

Posted on

3 1

Coding an Instagram Like Bot with NodeJs

Hey there to everyone,

I just wanted to share this here because maybe someone can learn something from it.

What? đź’»

Yes, I've built an Instagram bot that basically does the following:

  • Opens up the Instagram Login page
  • Logs in with specific username and password
  • Goes through an [array] of tags and loops over them to get the latest 3 images
  • Click on the images, like them, close the modal
  • AND REPEAT UNTIL IS STOPPED.

Why?

For fun and for educational purposes only, I do not recommend you to use this code in order to spam Instagram.

Therefore this time, I did not give out the Full Code.

How?

Here is how,

A 40+ minutes video that I just recorded in about 4 hours.

Enjoy 🔥

Ps: I also post more about NodeJs and Data Scraping on my blog -> LearnScraping.com

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay