hhmx.de

Föderation EN Di 29.04.2025 19:26:28

When you post a link on Mastodon, a preview will automatically appear below the post. This can take a while though depending on how busy the server is, so don't worry if the preview isn't there straight away.

You don't have to do anything special to make previews appear, all you have to do is post a link. Here's a guide to link previews on Mastodon with questions answered:

➡️ fedi.tips/how-do-i-get-a-link-

The guide also has advice for website owners wanting to adjust their previews.

Föderation EN Di 29.04.2025 19:27:41

@FediTips why do previews show up for links to most mastodon posts but *not* for links to mastodon posts on your home server?

Föderation EN Di 29.04.2025 19:34:22

@cryptadamist

How interesting! Never noticed that before but you're absolutely right, it only shows previews for external links.

I'm not sure why it behaves like this, but if I had to guess it might be to prevent other internal links such as hashtags or mentions ending up as previews?

Föderation EN Di 29.04.2025 19:39:39

@FediTips always seemed like a bug to me (and a pretty annoying one). never bothered to file an actual bug but it's something i've noticed often while working on Fedialgo: universeodon.com/@cryptadamist

cc @rolle maybe he knows why the standard web app behaves this way and/or if this is a bug as i suspect.

Föderation EN Di 29.04.2025 21:24:05

@rolle @FediTips i've also noticed sometimes YouTube embeds are broken. an example is a recent toot by @glyph:

universeodon.com/@glyph@mastod

Medien: 1

Föderation EN Di 29.04.2025 21:28:27

@rolle @FediTips @glyph huh, so the youtube issue workaround is to avoid "youtu.be" links and only use "youtube.com" links?

Föderation EN Do 01.05.2025 11:56:55

@rolle @cryptadamist

I did a post about that workaround a while back and feedback in replies was the workaround didn't work for everyone? Has the situation become any clearer?

Föderation EN Di 29.04.2025 19:34:21

@FediTips what about when posting Mastodon links on other services? Seems like sometimes it shows a preview on WhatsApp and other times it doesn’t! Is that a server specific setting?

Föderation EN Di 29.04.2025 19:40:12

@audioflyer79

There shouldn't be major differences on servers running standard Mastodon software, but admins could manually customise their server's software to adjust their preview's format.

Previews can be adjusted by website owners (including Fediverse server owners) by including special tags within their site's headers. Some of these tags are mentioned at the end of the guide.

Föderation EN Di 29.04.2025 20:05:12

@FediTips I'd like to add: Since it does take a while for previews to appear, it'd be really nice if people mentioned what it is they're linking to in the text of posts, instead of relying only on the preview.

Föderation EN Do 01.05.2025 12:00:06

@Anke

Agreed, especially as some people will not see the previews on their app or interface.

I've added a note about this to the guide.

Föderation EN Di 29.04.2025 21:13:27

@FediTips personally, I’d like to know how to include links that don’t generate previews

Föderation EN Do 01.05.2025 11:59:14

@Frannoval

If you're comfortable using Github, you can vote for this by giving a thumbs up at github.com/mastodon/mastodon/i

(I've just given it a thumbs up myself as it does seem to be a good idea!)

I've added a link to the issue in the fedi.tips guide in case others want to vote too.

Föderation EN Mi 30.04.2025 00:26:03

@FediTips

No guarantee that it will function as expected. Or even appear at all.

Also, if you try to use multiple links, only the first one that works will appear.

Föderation EN Do 01.05.2025 11:54:03

@SpaceLifeForm

It happens separately on each server so if it doesn't work for you, it may still work for other people who see your post.

Föderation EN Do 01.05.2025 15:52:25

@FediTips

Yes, This is why a preview may appear differently. When geoip happens in particular. Yahoo does this.