slackapi/python-slack-sdk

Link unfurling for Video links from my app's domain

saurabh0719 opened this issue · 2 comments

Problem -

Hi there, I want to unfurl links to videos from my saas application's domain. Basically everybody who has our Slack bot installed, we want them to be able to play videos from our app directly in Slack by pasting the link, similar to loom or youtube

My questions & doubts -

  • I haven't found any documentation regarding the same. There are only guides for unfurling images and other text from links. Some forums even mentioned that Slack only gives access on a case-by-case basis to certain companies for this kind of use case. Is that true?

  • If not through the SDK, can I do some server side rendering and send back information when the Slack agent crawls my link?

  • If not possible through the SDK or SSR, is there a formal process to apply to be one of the apps that Slack allows video link unfurling for?

Hoping for some quick resolution or further clarity on this matter, as our company is very video based and we have a lot of customers currently leveraging our Slack bot who would love to have this feature.

Hey @saurabh0719! 👋 Video unfurls are possible with some configuration to your app and requires listening to the link_shared event – done easily with Bolt for Python – then responding with the chat.unfurl method. A video block can be included in this response, which can play your video directly from the message. The following pages might be helpful for setting this up:

I'm not aware of any limitations around link unfurling for videos, but if you run into any issues please let me know! Hopefully this helps! 🎥 🤩

@zimeg Thanks a lot, I completely missed out this part of the Blocks documentation about video - my apologies!