Social Share

Discourse
Fri, 15 Jun 2018 15:59:17 +0000
Theme component

| |
| Summary | Social Share allows you to easily add extra social providers to the share button on posts..
| Preview | Preview on Discourse Theme Creator
| Repository Link | https://github.com/discourse/discourse-social-share
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes

Install this theme component

As this is an official theme component maintained by the Discourse team, Support, Bug, UX, and Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started.

Support Bug UX Feature

Features

This component only works on public sites.
Share icons will be automatically disabled on private sites when site setting login required is active.

Manipulating settings related to crawler user agents could potentially interfere with the proper functioning of the component.

Settings:

Name | Descriptions
social share links | Comma delimited in this order: name, icon, title, link.
svg icons | List of FontAwesome 5 icons used in this theme component. Use prefix fa- for solid icons, far- for regular icons and fab- for brand icons.

Some providers & Links:

English Social Media

Provider | Sharing URL
Tumblr | https://www.tumblr.com/widgets/share/tool?canonicalUrl=
Pinterest | https://pinterest.com/pin/create/button/?url=
LinkedIn | https://www.linkedin.com/shareArticle?mini=true&url=
Reddit | https://www.reddit.com/submit?url=
Pocket | https://getpocket.com/edit?url=
Evernote | https://www.evernote.com/clip.action?url=
HackerNews | https://news.ycombinator.com/submitlink?u=
Digg | https://digg.com/submit?url=
Flipboard | https://share.flipboard.com/bookmarklet/popout?v=2&title=
Instapaper | https://www.instapaper.com/edit?url=
Diaspora | https://share.diasporafoundation.org/?title={title}&url=
Viber | viber://forward?text=
Mastodon | https://mastodonshare.com/?url=
Threads | https://www.threads.net/share?url=
Bluesky | https://bsky.app/intent/compose?text=
Mix.com | https://mix.com/add?url=
MeWe | https://mewe.com/share?link=

International (non-english) Social Media

Provider | Sharing URL
QZone (China) | http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=
Weibo (China) | http://service.weibo.com/share/share.php?url=
Douban (China) | https://www.douban.com/recommend/?url=
RenRen (China) | http://widget.renren.com/dialog/share?resourceUrl=
VK (Russia) | https://vk.com/share.php?url=
OK.ru (Russia) | https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=
Xing (Germany) | https://www.xing.com/app/user?op=share&url=
SurfingBird (Russia) | http://surfingbird.ru/share?url=

Phone/Audio-Based Social Media

Provider | Sharing URL
SMS | sms:{phone_number}?body=
Telegram | https://telegram.me/share/url?url=
Line | https://lineit.line.me/share/ui?url=
Skype | https://web.skype.com/share?url=
WhatsApp | https://wa.me/?text=
WhatsApp Web | https://web.whatsapp.com/send?text= (read also here)

This guide is a wiki, if you have other providers, maybe specific for your country, just add them to the list.

You will find the share URL in the documentation for the developers.

Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @dax Friday, May 9, 2025 7:43 PM UTC
Check document (click for more details)

26 posts - 17 participants

Read full topic