tuxity / insta-unfollower

An Instagram script to unfollow accounts who doesn't follow-you-back
MIT License
384 stars 87 forks source link

Install on Windows #10

Closed worldsdream closed 4 years ago

worldsdream commented 6 years ago

Hi,

I have python on windows. I installed the requirements through cmd. how to run it from cmd? Can you give me the code. Thank you.

C:\Users\worldsdream\Desktop\insta-unfollower-master\insta-unfollower-master>python insta-unfollower.py please provide USERNAME and PASSWORD environement variables. Abording...

tuxity commented 6 years ago

Try to set the environment variables USERNAME and PASSWORD in

Control Panel->System and Security -> System -> Advamced system settings->Environmental Variables 
worldsdream commented 6 years ago

I see User Variables and System Variables. Which one should I add. Do I have to add USERNAME and my username and PASSWORD and the password?

tuxity commented 6 years ago

Try User Variables first, and yes variable name is USERNAME and the value your instagram username

worldsdream commented 6 years ago

I did add it under User Variables. I am getting the following now after excuting python insta-unfollower.py:

login failed, verify user/password combination

worldsdream commented 6 years ago

Hi @tuxity. Anything else that I can test. Looking forward to use your program!

tuxity commented 6 years ago

I'm going to rewrite a part of the code to avoid this. Instead of using environment variable only, add the possibility to use parameters

ftuligi commented 6 years ago

Hi, I did that, on comman window: set USERNAME: MyUsername set PASSWORD: MyPassword than I have run --> py myFile.py

Hope this help

dagnyforhust commented 5 years ago

Im a bit of a noob at this sort of stuff. Im getting please provide USERNAME and Password even though I have tried adding the environment variables.

tuxity commented 5 years ago

@mrtancau your solution works on windows ? Imma update the README if so

ghost commented 5 years ago

Does not work on windows

tuxity commented 4 years ago

Works for me on Windows 10 and Git Bash with both method (with and without Docker)