Rishikant181 / Rettiwt-API

A CLI tool and an API for fetching data from Twitter for free!
https://rishikant181.github.io/Rettiwt-API/
MIT License
306 stars 31 forks source link

Search not working for twitter username that starts with numbers #377

Closed Coareal closed 9 months ago

Coareal commented 9 months ago

For instance, trying to search for the user 13AK3D or 0Putinyt gives VALIDATION_ERROR

Rishikant181 commented 9 months ago

That's strange. It should be working find.

Please catch the error and log it to console. See what it says. There might be some other validation error. If possible, please post the error message and the code to reproduce the issue.

Note: While searching for tweets, usernames must be passed as a list of usernames and not as a single string.

Coareal commented 9 months ago

Not for tweets, but for details of a user

Try reproducing it with

rettiwt.user.details("13AK3D")

Rishikant181 commented 9 months ago

Patch incoming. It was a minor problem with the way alphanumeric usernames were validated.

Rishikant181 commented 9 months ago

@Coareal Please update to latest version (v2.2.1). The issue has been patched.