Embed tags on Forum Index

AI-generated summary

In a feature discussion about embedding tags on the forum index, Falco proposed that the index (e.g., /latest) should utilize OpenGraph tags to ensure links expand correctly in social platforms like WhatsApp, Telegram, and Discord. He outlined specific metadata to display, including the site name, forum title, and description. When codinghorror requested clarification on the visual impact, Falco provided screenshots demonstrating how the Telegram and Facebook previews improved with these tags. codinghorror noted the change seemed redundant but suggested testing with iframely.

Later, dylanh724 revived the thread to highlight that while individual topics display images, the forum index fails to show an image for Discord links, whereas Twitter and Facebook work fine. dylanh724 clarified that Discord relies on the ogbanner meta tag. codinghorror responded that since Twitter and Facebook are functioning, the issue appears to be specific to Discord’s parsing rather than a missing tag on the Discourse side, advising the community to contact Discord directly.

A topic has the embed tags, but the index (usually /latest page) doesn’t.

I think it would be good, so the link expand where people use this, like:

  • Whatsapp
  • Telegram
  • Discord
  • Facebook

What you guys think?

2 Likes

It is unclear what those tags would contain for the index?

  • Site Name: Same as topic

  • URL: Forum index

  • Title: Forum title

  • Description: Setting site_description

Looks good?

Maybe can you show before and after with that?

On telegram:

Before:


After:

Facebook scrap other html tags when the OpenGraph tags aren’t found, so you get a warning but it works:

https://developers.facebook.com/tools/debug/og/object/?q=https%3A%2F%2Fmeta.discourse.org%2F

5 Likes

Probably OK though a bit redundant. Make sure we are testing using the Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed

2 Likes

Necro bump, but 100% relevant – whatever became of this? Discord is another reason for this.

Currently when I post our link:

and it should look add an image at the top-right pulled from meta data.

Discord, much like FB and other sites, pull from ogbanner meta tag, iirc. On the index of the site, it looks like no image shows up at all.

EDIT: Topics show an image, if any, but that’s it – there’s no default or index image

That is a Discord problem. Twitter and Facebook pull the info fine. Ask Discord, not us, about that.