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

I'd like to put a "Share on Slack" button on my website. It would be similar to the butt

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.

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.

Share Improve this question edited Jul 4, 2022 at 19:25 TylerH 21.1k79 gold badges79 silver badges114 bronze badges asked Sep 20, 2017 at 8:08 uthayuthay 1232 silver badges11 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

The reason you could not find a "Share on Slack" button is that Slack is not a public munity 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745339114a4623242.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信