iSarabjitDhiman / TweeterPy

TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
MIT License
145 stars 20 forks source link

twitter.get_list_tweets gives an error #44

Closed icematerial closed 11 months ago

icematerial commented 11 months ago

twitter = TweeterPy() twitter.load_session("login.pkl") list_id = "xxxxxxxxxx" twitter.get_list_tweets(list_id, end_cursor=None, total=50) This code suddenly stopped working.

Has the List endpoint(= TWEETS_LIST_ENDPOINT) changed?

twitter.get_user_id('elonmusk') twitter.get_user_media('elonmusk', end_cursor=None, total=2) works fine.

thanks,

iSarabjitDhiman commented 11 months ago

Hey @icematerial

I just tested it on my end, you are right. Twitter made changes to the feature switches, you might need to pass extra features to the params. Or you can wait for me to fix it. I m trying to come up with some permanent solution, so it might take some time.

icematerial commented 11 months ago

Thank you for your investigation. I will wait for you to fix it. Thank you for your kind assistance. I really appreciate it!