DEV Community

Discussion on: Instagram Automation Bot for JavaScript: How to use InstAuto?

Collapse
 
sadaca73 profile image
Shawn

Hello Michiel,

First off, thanks for posting this. I’m a coding noob and was excited to have actually gotten this automation to work!

One thing I’m struggling with is the portion with the .env file. My file is named pass.env and I saved it in the root file as instructed. I copied and pasted the code supplied into it and filled on username and password.
I may have missed something, as I see you said to remember to name the variables (which I think the code you supplied actually did do).
The dry run got me to the login screen and didn’t successfully login. I’ve been running it with the username and password in the source code, but would love to complete the project as instructed.

Would you be able to give a noob like me some literal direction?

I did try to study more about the .env/process.env to gain some understanding, but it’s still gibberish to me at this point.

Really fun challenge for me...thanks again!

Shawn

Collapse
 
michielmulders profile image
Michiel Mulders

Hi Shawn, try saving the file as .env instead of pass.env. That should solve the problem! :)