Reverse Engineered Twitter Frontend API.
pip install tweety-ns
pip install https://github.com/mahrtayyab/tweety/archive/main.zip --upgrade
from tweety import Twitter
app = Twitter("session")
# assuming app is authenticated class instance
all_tweets = app.get_tweets("elonmusk")
for tweet in all_tweets:
print(tweet)
Important
Even Twitter Web Client has a lot of rate limits now, Abusing tweety can lead to read_only
Twitter account.
Do check FAQs
Full Documentation and Changelogs are here