Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Home timeline limited to 400 toots? #2301
I'm working on a Python script that uses Mastodon.py to fetch all toots I've written on a given account/instance. I'm doing this by fetching the Home timeline, then filtering for my own toots (excluding boosts). It works great on new accounts with few toots, but seems to always stop at 400 toots (20 calls) on older accounts:
Any clue why the above quits after 20 calls? Any way to go deeper?
Sorry for not closing this sooner!
Workaround: Go to https://[instance]/@[user] to see a full history of toots.
However, when trying to get caught up with a user's toots, it is much easier to view them in the order posted, rather than most-recent first. The above URL does not support any other sort order than "most-recent first".
So I wrote a script: https://gist.github.com/FlyMyPG/2e9d4532453182ada0da78e74980193b