Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a URL that can be used for a “Share on Slack” button?

I'd like to put a "Share on Slack" button on my website. It would be similar to the buttons we have for "Share on Facebook" and "Share on Twitter". A user would click on it and be able to post some text and a link that we suggest on Slack.

I've been able to find URLs that I can use on Facebook and Twitter for doing this, but I've been unable to track down one for Slack? Does it exist? I see that AddThis was able to implement a button but I'm not sure exactly how they are doing it.

like image 964
uthay Avatar asked Sep 20 '17 08:09

uthay


People also ask

How do I share a Slack channel URL?

In the channel details window, click the Settings tab, then in the Slack Connect section click the Share Link button. Click Copy Link button. Send an email to the individual you want to invite with the link you copied.

How do I find the URL of a Slack channel?

Find your URLOpen the Slack app. From the Home tab, swipe right to open the main menu. Locate your workspace's Slack URL below the workspace name.


1 Answers

The reason you could not find a "Share on Slack" button is that Slack is not a public community site like Facebook and Twitter, but consists of many closed groups. Think of it as closed Facebook groups that require approval to join. And each Slack team has a different internal structure, there is no "main feed" to share something on, but many channels with names defined by each team.

Consequently your "Share on Slack" button would need to first get authorization for each Slack team you want to share on, so each user would need to install your button (with its Slack app) to their Slack team. Its a cumbersome process and many users will probably not have permission from their admins to do so. Its technically possible though and will require you to create a Slack app with server-side coding to implement. Just a URL will not work.

like image 65
Erik Kalkoken Avatar answered Sep 28 '22 13:09

Erik Kalkoken