HEAD icon indicating copy to clipboard operation
HEAD copied to clipboard

Slack Unfurling

Open Martin-Pitt opened this issue 7 years ago • 5 comments

With increasing use of Slack and relevance for teams in sharing links to websites with each other, the concept of Unfurling might be a useful add on.

I'm not sure how it would be added to the site, but there is a popular medium article about how it works: https://medium.com/slack-developer-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254 Which would be worth linking to as a resource.

I think it's interesting how other apps and services could use a cross-selection of meta tags, so it's important not to exclude the tags of one service, as it might impact several others further down the line.

Martin-Pitt avatar Oct 30 '17 13:10 Martin-Pitt

Is this not already covered by the use of Facebook's OG meta?

Similar to Twitter, Facebook developed Open Graph as a system to help other sites customize how their content is previewed on Facebook’s site and apps. Their basic markup reference covers everything you’d need for customizing your own Slack unfurl (as well as how your sites will appear on Facebook).

ghost avatar Oct 30 '17 14:10 ghost

Hm, interesting that twitter dropped the label1/data1 and label2/data2 properties.

What are the OG equivalents then?

EDIT: I tried searching about, but it looks like Slack still uses the tabular data properties, which can be very useful in the unfurls. I couldn't find any equivalents for Facebook's OG meta, so it doesn't cover everything I need to customise the Slack unfurl. (Medium still uses it, hence why the reading time shows up in the unfurls)

Martin-Pitt avatar Oct 30 '17 18:10 Martin-Pitt

This would unfurl fine on slack if og:title, og:description, and og:image were set -- it doesn't look like there are any tags for unfurling that would work on Facbeook, Twitter, Slack, etc. right now.

mmarvick avatar Feb 21 '18 06:02 mmarvick

@Martin-Pitt I would like to add a section to the document for Slack 👍 I'll try to tackle this in the near future, or if you feel motivated a pull request would be welcome 😀

joshbuchea avatar May 03 '18 16:05 joshbuchea

Slack has no unique tags that they implement. The article states that Slack will take information from as much as you have implemented. Ideally you have meta, og and twitter for the richest Slack unfurl.

patrick-mcdougle avatar Feb 19 '19 03:02 patrick-mcdougle