How I am supposed to retrieve all replies to an object?


I’m trying to get all replies to an object, thus I’m following the replies key, and I’m expecting an OrderedCollection there.

Unfortunately, not only Mastodon gives me an unordered Collection, but I only get first page (last is missing), and totalItems is missing too. Worst, if I follow next, it’s recursing to a previous link thus I’ll have an infinite loop. The only thing that kind of indicate the end of the collection is that at some point I have an empty list of items, but this page still has a filled next value.

This doesn’t seem very compliant with Activity Streams 2.0, how am I supposed to reliably get all replies to an object with Mastodon ?


1 Like

For the record, I’ve opened a ticket for this:

1 Like