3 ms·
Totally ignorant question - is ActivityPub the preferred way to work against a Mastodon server if you want something like a Twitter firehose? If not, what is t
by outside1234 4y ago
Totally ignorant question - is ActivityPub the preferred way to work against a Mastodon server if you want something like a Twitter firehose?
If not, what is the preferred manner of accomplishing this?
- jeroenhd 4y agoI don't think there's a firehose alternative for Mastodon. There's the generic stream API (https://docs.joinmastodon.org/methods/timelines/streaming/ 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 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.