resin icon indicating copy to clipboard operation
resin copied to clipboard

Pixelfed API only returns status context one level deep

Open natjms opened this issue 4 years ago • 0 comments

Compare these two requests (the second seems to require an Authorization header, just a heads up):

https://mastodon.social/api/v1/statuses/106274529944899454/context
https://pixelfed.de/api/v1/statuses/301771640520445952/context

The former gives all of the posts descendants, including children of child statuses and so on. The former seems to only return immediate descendants. Not only does this cover up a lot of discussion, but it also makes replying to descendants weird, in that it'll send and get recorded on the server side but then just won't render in Resin.

I tried looking into how PixelDroid deals with it but it looks like they have a bug that makes every post say "No comments found," as tested on pixelfed.social and pixelfed.de. I'm not sure if this is related somehow, but it might still be worth digging through their code base to get a better idea of how to properly approach this if needed and if possible.

This should also be manually confirmed using a terminal, just for the peace of mind. Needs more investigation

natjms avatar May 22 '21 19:05 natjms