TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best practice for posting links to large Mastodon threads?

4 pointsby WhyUVoteGarbageover 1 year ago
Postmortem on what happened here: https:&#x2F;&#x2F;news.ycombinator.com&#x2F;edit?id=39305884<p>The v1 API of Mastodon limits the size of the tree that it will expand for users who are not logged into the server: https:&#x2F;&#x2F;github.com&#x2F;mastodon&#x2F;mastodon&#x2F;blob&#x2F;main&#x2F;app&#x2F;controllers&#x2F;api&#x2F;v1&#x2F;statuses_controller.rb . I am guessing that this or some similar limit applies to threads being returned to unauthenticated users of the web UI. It just arbitrarily stops expanding the replies at some point, including the main thread from the OP.<p>If a thread is truncated, users expect it to expand automatically and autoscroll when you hit the bottom. In my desktop browser, that does not occur, and there is no indication that there is more to see. This is the situation of the web interface as of Mastodon version 4.2.5.<p>The issue is very sensitive to observer conditions. If you are logged into the server, the behavior is different. If you use a Mastodon app instead of the web, the behavior might be different. As the tree expands, the cutoffs become different. If you look at the thread on a different Mastodon server, the tree is different because every server has its own view of the Fediverse.<p>HN needs a best practice for linking to Mastodon threads in a way that provides a consistent experience to HN readers. The average Mastodon server would be crushed by hundreds of HN readers grabbing the entirety of a huge thread all at once, so this might involve some thread-unroll-and-cache service. I tried https:&#x2F;&#x2F;mastoreader.io&#x2F; but it did not solve the problem.<p>Alternately, we push changes into the Mastodon web UI to warn users when they need to click to see more and assume that people will get used to the navigation.<p>Suggestions?

1 comment

xigoiover 1 year ago
We shouid encourage people to stop posting long-form content on platforms explicitly designed for short-form content.