Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Og:description meta tag for slack app link unfurling

Is og:description or twitter:description tag necessary for slack to unfurl html page's link contents ?

I have a link with og:title , type , url , image and description tags . Slack app unfurls the link fine . But when I remove the description tag or if set the content of description tag null , then nothing is unfurled .

Ideally besides description other things should have been previewed in slack . How is title and image and other things dependent on description tag ?

like image 769
user9435318 Avatar asked Oct 15 '25 14:10

user9435318


1 Answers

Slack displays og:description tag, not twitter:description. Title and image don't anymore depend on description tag. Even when og:description is null, removed or spacefilled Slack generates social snippet.

In case description is not provided Slack is able to display a title up to 2000 symbols.

Slack uses a combination of Open Graph and Twitter tags to unfurl links as shown in Slack API Documentation

For generating purposes Website Open Graph Generator is useful. For validating FB Sharing debugging is handy.

like image 106
Anton_S_DS Avatar answered Oct 17 '25 07:10

Anton_S_DS



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!