IAM icon indicating copy to clipboard operation
IAM copied to clipboard

Complete installation guide

Open Meytiz opened this issue 1 year ago • 43 comments

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 avatar Feb 01 '24 17:02 Meytiz

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'?

Meytiz avatar Feb 01 '24 17:02 Meytiz

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 ?

new92 avatar Feb 01 '24 19:02 new92

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 avatar Feb 01 '24 19:02 Meytiz

Screenshot (3)

Meytiz avatar Feb 01 '24 20:02 Meytiz

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

new92 avatar Feb 01 '24 21:02 new92

Screenshot (5)

Meytiz avatar Feb 02 '24 09:02 Meytiz

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 avatar Feb 02 '24 09:02 Meytiz

Screenshot (6) where is the problem from?

Meytiz avatar Feb 02 '24 10:02 Meytiz

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.

new92 avatar Feb 02 '24 10:02 new92

I did this. But the problem still exists.

Meytiz avatar Feb 02 '24 10:02 Meytiz

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

new92 avatar Feb 02 '24 10:02 new92

Screenshot (7)

Meytiz avatar Feb 02 '24 10:02 Meytiz

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

new92 avatar Feb 02 '24 11:02 new92

ok, git pull yeah?

Meytiz avatar Feb 02 '24 11:02 Meytiz

Exactly !

new92 avatar Feb 02 '24 11:02 new92

And let me know 👍

new92 avatar Feb 02 '24 11:02 new92

Screenshot (9) :(

Meytiz avatar Feb 02 '24 11:02 Meytiz

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

new92 avatar Feb 02 '24 11:02 new92

tnx bro

Meytiz avatar Feb 02 '24 11:02 Meytiz

fixed man?

Meytiz avatar Feb 04 '24 10:02 Meytiz

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.

new92 avatar Feb 04 '24 11:02 new92

:(

Meytiz avatar Feb 07 '24 06:02 Meytiz

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.

new92 avatar Feb 08 '24 09:02 new92

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.

ShivamB25 avatar Feb 25 '24 21:02 ShivamB25

use py cookies.py

Meytiz avatar Mar 07 '24 13:03 Meytiz

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

Meytiz avatar Mar 07 '24 14:03 Meytiz

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.

ShivamB25 avatar Mar 07 '24 14:03 ShivamB25

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

new92 avatar Mar 07 '24 18:03 new92

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.

new92 avatar Mar 07 '24 18:03 new92

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

Meytiz avatar Mar 07 '24 19:03 Meytiz