Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixelfed API only returns status context one level deep #23

Open
natjms opened this issue May 22, 2021 · 0 comments
Open

Pixelfed API only returns status context one level deep #23

natjms opened this issue May 22, 2021 · 0 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@natjms
Copy link
Owner

natjms commented May 22, 2021

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 natjms added bug Something isn't working investigation Needs further investigation labels May 22, 2021
natjms added a commit that referenced this issue May 25, 2021
Pixelfed seems to only return first-level descendants from its context
endpoint, thus after replies-to-replies are submitted, they are not
rendered. See #23
@natjms natjms added wontfix This will not be worked on and removed investigation Needs further investigation labels Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant