linkfy/Tools-for-Instagram ? reverse-engineered prompt
Reverse engineered prompt
Build me a JavaScript toolkit for automating Instagram tasks from the command line or from my own scripts. I want to be able to log in with a username and password from a .env file, save and reuse cookies, handle email or SMS verification, and support proxies so I can run multiple accounts safely. It should let me fetch user info, recent posts, followers, followings, likers, comments, hashtags, and location based posts, then save results to JSON files when needed.
I also want simple actions like liking, following, unfollowing, viewing stories, voting in polls, reading messages, replying to messages, and uploading pictures. Please include a few example bots I can run right away, plus a small CLI or example script that shows how to use the main features. If there are any current Instagram or Node.js best practices I should follow, look them up online and use the most reliable approach.
Are you gonna build this?
make sure you review the code using coderabbit