Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

#Fixed:::UserID to UserName doesn’t work anymore - will You fix it anytime soon? #2

Closed
github-userx opened this issue May 30, 2019 · 11 comments
Labels
enhancement New feature or request

Comments

@github-userx
Copy link

Thanks so much for creating this tool!

@Snbig
Copy link
Owner

Snbig commented May 30, 2019

You're welcome ❤
Code has been fixed before in 5da63c5 commit.

@github-userx
Copy link
Author

@Snbig bless you. Many many thanks.

Currently I have it that I can execute

python3 usernameToUserID.py

And it will ask/ prompt for a username to input.

But with the userIDtoUsername I always have change the UserID in the python file itself (in line 46):

print(useridToUsername("00000000"))

Do You think it’s possible for the userIDtoUsername script to ask for userID input?

Best Regards!

@github-userx
Copy link
Author

i assume theoretically we could also have a single app with parameters like:

#get userID from username
instatrack -id justintimberlake

#get username from userID
instatrack -u 1234567812345

But honestly I am also absolutely fine with two .py files that do work flawlessly!

<3

@Snbig Snbig added the enhancement New feature or request label May 30, 2019
@Snbig
Copy link
Owner

Snbig commented Jun 1, 2019

Command line options added to code 2e11349
Gook Luck 😉

@github-userx
Copy link
Author

You‘re the best!,! ;) incredible!

@github-userx
Copy link
Author

@Snbig I am getting syntax error.

python3 InstaTrack.py -id justinbieber
File "InstaTrack.py", line 64
print(f"[+] Username: {username}")
^
SyntaxError: invalid syntax

@Snbig
Copy link
Owner

Snbig commented Jun 2, 2019

  • First of all clone the latest commit.

  • Use "-u/--user" instead of "-i/--id" to set username.

  • Also Check help [-h/--help]:
    $ python3 InstaTracker.py -u justinbieber
    [+] UserID: 6860189

@Snbig Snbig closed this as completed Jun 2, 2019
@Snbig Snbig pinned this issue Jun 2, 2019
@Snbig Snbig reopened this Jun 2, 2019
@Snbig Snbig changed the title UserID to UserName doesn’t work anymore - will You fix it anytime soon? #Fixed:::UserID to UserName doesn’t work anymore - will You fix it anytime soon? Jun 2, 2019
@github-userx
Copy link
Author

I get the same error when using -u justinbieber and using the latest commit.

Using Python3.5.3

@github-userx
Copy link
Author

Do you use Python3.6?

@Snbig
Copy link
Owner

Snbig commented Jun 2, 2019

Yes.
F-strings is not available for python before [3.6]
To make it compatible with python before 3.6 replace f-strings with string formatting.
"[+] Username: {}".format(username)
"[+] UserID: {}".format(userid)


[*] Code updated and now it compatible with python > 3

@Snbig Snbig modified the milestones: Make it compatible to python before 3.6, Make it compatible with python before 3.6 Jun 2, 2019
@github-userx
Copy link
Author

github-userx commented Jun 2, 2019 via email

@Snbig Snbig unpinned this issue Jun 26, 2019
@Snbig Snbig closed this as completed Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants