News for hackers. Stuff that matters.
Re:ActivityPub by jeroenhd on Tuesday November 08, 2022 @01:58PM (#33522805)
I don't think there's a firehose alternative for Mastodon. There's the generic stream API (https://docs.joinmastodon.org/methods/timelines/streaming/) which should contain all public posts but that will only reflect the local timeline.

The general public API also has a "fetch posts since ID <x>" call but in practice you'll only be able to fetch 400 posts at most based on the docs I can find.

There are tools like this: https://github.com/cscape/mastodon-firehose which you can use to combine multiple stream endpoints. That tool probably comes closest if you provide it with enough servers to monitor.

There are no comments on this comment yet.