Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack Unfurling #179

Open
Martin-Pitt opened this issue Oct 30, 2017 · 5 comments
Open

Slack Unfurling #179

Martin-Pitt opened this issue Oct 30, 2017 · 5 comments

Comments

@Martin-Pitt
Copy link

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.

@ghost
Copy link

ghost commented Oct 30, 2017

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).

@Martin-Pitt
Copy link
Author

Martin-Pitt commented Oct 30, 2017

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)

@mmarvick
Copy link

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.

@joshbuchea
Copy link
Owner

@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 😀

@patrick-mcdougle
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants