new92 / IAM

🪄 Instagram account manager - Manage your instagram account remotely
https://github.com/new92/IAM
MIT License
30 stars 10 forks source link

Complete installation guide #13

Open Meytiz opened 9 months ago

Meytiz commented 9 months ago

I tried to install the source on the server and Windows, but I still had problems! Is it possible to learn this source completely?

Meytiz commented 9 months ago

Traceback (most recent call last): File "c:\Users\M!IND\Downloads\IAM\IAM.py", line 3364, in main() File "c:\Users\M!IND\Downloads\IAM\IAM.py", line 380, in main with Live(centered, console=console, screen=False): ^^^^ NameError: name 'Live' is not defined. Did you mean: 'like'?

new92 commented 9 months ago

Hey @Meytiz, just made an update so the second issue (NameError: name 'Live' is not defined. Did you mean: 'like'?) should be resolved. As for the first one, can you provide me with a screenshot in order to betten understand the error messages you're receiving ?

Meytiz commented 9 months ago

C:\Users\M!IND\Downloads\IAM>python3 cookies.py Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

Meytiz commented 9 months ago

Screenshot (3)

new92 commented 9 months ago

Ok so you need to edit the environment's variables in order to resolve the python not found error. For the second one try entering this command: pip install -r ./files/requirements.txt

Meytiz commented 9 months ago

Screenshot (5)

Meytiz commented 9 months ago

C:\Users\M!IND\Downloads\IAM>py cookies.py Using cookies from C:\Users\M!IND/AppData/Roaming/Mozilla/Firefox/Profiles\8sc9n5ae.default-release\cookies.sqlite. Cookie import failed: JSON Query to graphql/query: HTTP error code 401.

Meytiz commented 9 months ago

Screenshot (6) where is the problem from?

new92 commented 9 months ago

Hey @Meytiz check this tutorial to resolve the python not found issue. In order to resolve the second issue (Cookie import failed: ...) log in to your Instagram account from firefox. Then enter the command python3 cookies.py in your terminal and finally enter: python3 IAM.py again in your terminal.

Meytiz commented 9 months ago

I did this. But the problem still exists.

new92 commented 9 months ago

Ok give me a couple of seconds to fix it and I'll let you know.

Meytiz commented 9 months ago

Screenshot (7)

new92 commented 9 months ago

Try again now maybe. I changed the login method. With the same procedure. Login to your instagram acc via firefox, python3 cookies.py and python3 IAM.py

Meytiz commented 9 months ago

ok, git pull yeah?

new92 commented 9 months ago

Exactly !

new92 commented 9 months ago

And let me know 👍

Meytiz commented 9 months ago

Screenshot (9) :(

new92 commented 9 months ago

Shit. Ok I'll try to fix it and I'll get back to you in a couple of hours.

Meytiz commented 9 months ago

tnx bro

Meytiz commented 9 months ago

fixed man?

new92 commented 9 months ago

Hey @Meytiz sorry it's not ready yet. It's pretty big script. I will try to fix it and upload it later today or tomorrow.

Meytiz commented 9 months ago

:(

new92 commented 9 months ago

Hey @Meytiz I'm really sorry but I truly can't work on your request right now, I'll try to fix it this or the next week.

ShivamB25 commented 8 months ago

Hey @Meytiz I'm really sorry but I truly can't work on your request right now, I'll try to fix it this or the next week.

python3 cookies.py Using cookies from /Users/{usernmae}/Library/Application Support/Firefox/Profiles/ghyuqd3e.default/cookies.sqlite.

Cookie import failed: JSON Query to graphql/query: HTTP error code 401.

Meytiz commented 8 months ago

use py cookies.py

Meytiz commented 8 months ago

@new92 :(((((((((((

ShivamB25 commented 8 months ago

use py cookies.py

hey i am on macos. used python instead of python3. same issue

python3 cookies.py Using cookies from /Users/{myusername}/Library/Application Support/Firefox/Profiles/ghyuqd3e.default/cookies.sqlite. Cookie import failed: JSON Query to graphql/query: HTTP error code 401.

new92 commented 8 months ago

Hey @Meytiz so sorry for the delay 😭 I fixed the bug and the script works just fine ! Tested it myself 👍

new92 commented 8 months ago

Hey @ShivamB25 ok so you need to firstly download Firefox (if not already installed) and login to your instagram account before running cookies.py and IAM.py scripts.

Meytiz commented 8 months ago

I tested it today but it didn't work for me!

Meytiz commented 8 months ago

[::] Posts to like/unlike (num) >>> 10 Traceback (most recent call last): File "C:\Users\M!IND\Downloads\IAM-main\IAM-main\IAM.py", line 3341, in main() File "C:\Users\M!IND\Downloads\IAM-main\IAM-main\IAM.py", line 2619, in main browser = webdriver.Chrome() ^^^^^^^^^ NameError: name 'webdriver' is not defined

C:\Users\M!IND\Downloads\IAM-main\IAM-main>

new92 commented 8 months ago

@Meytiz try again now, I fixed the problem. Just make sure you update IAM before running it. Using the git pull command.

Meytiz commented 8 months ago

[!] WARNING: Not all packages used in IAM have been installed !

Meytiz commented 8 months ago

Traceback (most recent call last): File "C:\Users\M!IND\Downloads\IAM-main\IAM-main\IAM.py", line 117, in init(autoreset=True) ^^^^ NameError: name 'init' is not defined. Did you mean: 'int'?

new92 commented 8 months ago

@Meytiz fixed the bugs try one more time please

Meytiz commented 8 months ago

[::] Posts to like/unlike (num) >>> 10 Traceback (most recent call last): File "C:\Users\M!IND\Downloads\IAM\IAM.py", line 3341, in main() File "C:\Users\M!IND\Downloads\IAM\IAM.py", line 2619, in main browser = webdriver.Chrome() ^^^^^^^^^ NameError: name 'webdriver' is not defined

new92 commented 8 months ago

Now ?

Meytiz commented 8 months ago

yeap

Meytiz commented 8 months ago

Still the same error

Meytiz commented 8 months ago

[::] Posts to like/unlike (num) >>> 10 Traceback (most recent call last): File "C:\Users\M!IND\Downloads\IAM\IAM.py", line 3343, in main() File "C:\Users\M!IND\Downloads\IAM\IAM.py", line 2621, in main browser = webdriver.Chrome() ^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'Chrome'

new92 commented 8 months ago

What about now ?

Meytiz commented 8 months ago

[::] Users to follow (num) >>> 10 [?] Users to follow their followers (num) >>> 1 [::] Username No1 >>> ft360_ir [✓] User added. [+] Initiating following process... [!] Error ! [*] Error message ==> name 'bot' is not defined [1] Return to menu [2] Exit [::] Number (from the above ones) >>>

new92 commented 8 months ago

Hey @Meytiz let me fix it and I'll get back to you