Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete installation guide #13

Open
Meytiz opened this issue Feb 1, 2024 · 43 comments
Open

Complete installation guide #13

Meytiz opened this issue Feb 1, 2024 · 43 comments
Assignees
Labels
bug Something isn't working

Comments

@Meytiz
Copy link

Meytiz commented Feb 1, 2024

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
Copy link
Author

Meytiz commented Feb 1, 2024

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 new92 self-assigned this Feb 1, 2024
@new92 new92 added the bug Something isn't working label Feb 1, 2024
@new92
Copy link
Owner

new92 commented Feb 1, 2024

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
Copy link
Author

Meytiz commented Feb 1, 2024

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
Copy link
Author

Meytiz commented Feb 1, 2024

Screenshot (3)

@new92
Copy link
Owner

new92 commented Feb 1, 2024

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
Copy link
Author

Meytiz commented Feb 2, 2024

Screenshot (5)

@Meytiz
Copy link
Author

Meytiz commented Feb 2, 2024

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
Copy link
Author

Meytiz commented Feb 2, 2024

Screenshot (6)
where is the problem from?

@new92
Copy link
Owner

new92 commented Feb 2, 2024

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
Copy link
Author

Meytiz commented Feb 2, 2024

I did this. But the problem still exists.

@new92
Copy link
Owner

new92 commented Feb 2, 2024

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

@Meytiz
Copy link
Author

Meytiz commented Feb 2, 2024

Screenshot (7)

@new92
Copy link
Owner

new92 commented Feb 2, 2024

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
Copy link
Author

Meytiz commented Feb 2, 2024

ok, git pull yeah?

@new92
Copy link
Owner

new92 commented Feb 2, 2024

Exactly !

@new92
Copy link
Owner

new92 commented Feb 2, 2024

And let me know 👍

@Meytiz
Copy link
Author

Meytiz commented Feb 2, 2024

Screenshot (9)
:(

@new92
Copy link
Owner

new92 commented Feb 2, 2024

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

@Meytiz
Copy link
Author

Meytiz commented Feb 2, 2024

tnx bro

@Meytiz
Copy link
Author

Meytiz commented Feb 4, 2024

fixed man?

@new92
Copy link
Owner

new92 commented Feb 4, 2024

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
Copy link
Author

Meytiz commented Feb 7, 2024

:(

@new92
Copy link
Owner

new92 commented Feb 8, 2024

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
Copy link

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
Copy link
Author

Meytiz commented Mar 7, 2024

use py cookies.py

@Meytiz
Copy link
Author

Meytiz commented Mar 7, 2024

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

@ShivamB25
Copy link

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
Copy link
Owner

new92 commented Mar 7, 2024

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

@new92
Copy link
Owner

new92 commented Mar 7, 2024

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
Copy link
Author

Meytiz commented Mar 7, 2024

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

@Meytiz
Copy link
Author

Meytiz commented Mar 7, 2024

[::] 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
Copy link
Owner

new92 commented Mar 7, 2024

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

@Meytiz
Copy link
Author

Meytiz commented Mar 7, 2024

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

@Meytiz
Copy link
Author

Meytiz commented Mar 7, 2024

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
Copy link
Owner

new92 commented Mar 9, 2024

@Meytiz fixed the bugs try one more time please

@Meytiz
Copy link
Author

Meytiz commented Mar 9, 2024

[::] 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
Copy link
Owner

new92 commented Mar 9, 2024

Now ?

@Meytiz
Copy link
Author

Meytiz commented Mar 9, 2024

yeap

@Meytiz
Copy link
Author

Meytiz commented Mar 9, 2024

Still the same error

@Meytiz
Copy link
Author

Meytiz commented Mar 9, 2024

[::] 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
Copy link
Owner

new92 commented Mar 10, 2024

What about now ?

@Meytiz
Copy link
Author

Meytiz commented Mar 14, 2024

[::] 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
Copy link
Owner

new92 commented Mar 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants