Img meta tags don't show in Discord


(Dylan Hunt) #1

Discourse links are very boring in Discord. Any chance to pull the first image within a post? Or if posting a generic category, the category image?


(Jeff Atwood) #2

This is a problem with Discord, not us. We are fully compliant with opengraph and oembed. Take it up with them.


(Rafael dos Santos Silva) #3

Discord supports OpenGraph looks like:


(Daniela) #4

Do you have enabled the link preview in your account setting on Discord? It’s enabled by default, maybe you disable it accindentally.


(Travis) #5

From our Discord server


(Dylan Hunt) #6

Definitely enabled. Sometimes it works, sometimes it doesn’t – very inconsistent

^ from Discourse. Now Discord. Other links show fine (shown below):

How come mine doesn’t show, but meta does?

What about others here? Seems to work fine for individual posts, just not home page or category home.


(Dylan Hunt) #7

I realized it’s only on home page and main categories. Can you try home page? and category home?


(Rafael dos Santos Silva) #8

/categories, /c/meta and /c/howto/tips-and-tricks so Categories home page, a category and a sub-category.


(Dylan Hunt) #9

I don’t understand - why would it not work for ours? I wonder if Discord doesn’t re-scrape, ever? For example, if the first person to ever post our link before it was 100% setup, it would not have shown anything. Then later, it never rescrapes for new data?


(Jeff Atwood) #10