Danie1 / threads-api

Unofficial Python API for Meta's Threads App
https://pypi.org/project/threads-api/
MIT License
121 stars 16 forks source link

authentification failed #5

Closed usaidinahui closed 1 year ago

usaidinahui commented 1 year ago

hello there. i can't login to api via my insta login and password. "Username or password are invalid". I don't have another logins to threads

is login and pass to Threads different?

pj8912 commented 1 year ago

any bugs?

usaidinahui commented 1 year ago

any bugs?

just not authentificate with right login&password

usaidinahui commented 1 year ago

any bugs?

It just failed to authenticate with the correct username and password. I am registered in Threads via Instagram. This means that the username and password must match the Instagram ones. They do not fit, throws an exception: Username or password are invalid. Or do I need to get a different password for Threads somewhere?

pj8912 commented 1 year ago

No just same instagram username and password. Try again

ariwasch commented 1 year ago

I'm having the same problem. I can't login but my username and password are correct

Danie1 commented 1 year ago

Hey ariwasch, your Instagram username and password should work. Did you call the .login() function with them directly, or did you place them in environment variables?

ariwasch commented 1 year ago

It works now, I had to remove os.environ.get from the login info