new92/IAM

Complete installation guide

Opened this issue ยท 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?

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

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 ?

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.

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

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.

Screenshot (6)
where is the problem from?

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.

I did this. But the problem still exists.

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

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

ok, git pull yeah?

Exactly !

And let me know ๐Ÿ‘

Screenshot (9)
:(

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

tnx bro

fixed man?

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.

:(

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.

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.

use py cookies.py

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

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.

Hey @Meytiz so sorry for the delay ๐Ÿ˜ญ I fixed the bug and the script works just fine ! Tested it myself ๐Ÿ‘

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.

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

[::] 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>

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

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

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

@Meytiz fixed the bugs try one more time please

[::] 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

Now ?

yeap

Still the same error

[::] 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'

What about now ?

[::] 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) >>>

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