Rishikant181 / Rettiwt-API

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

user.followers('id', count) seems to not be functional. #499

Closed MsVoxxie closed 6 months ago

MsVoxxie commented 6 months ago

Using the optional count paramater seems to be completely ignored and its fetching 100(?) followers, Im looking to only nab 5.

Rishikant181 commented 6 months ago

That's just one quirk of a reverse engineered solution. When you fetch the followers for the first time (without using any cursor), it fetches 100 by default (overriding the count). For successive batches using the returned cursor, you can set an arbitrary count and it will not be overridden. That's the way it is, unfortunately.

MsVoxxie commented 6 months ago

Ahh, I apologize for the false report, then. Thanks for clearing that up :)