4 Social Sharing Modules for Drupal
If you don’t give your site visitors an opportunity to share your webpages, you’re missing out on an opportunity for others to hear about your great content.
Drupal has several modules that allow you to add Facebook, Twitter, Linkedin and other social buttons.
In this blog, we’re going to introduce you to four different options for adding social sharing to your Drupal site:
- Service Links
- Social Share
- AddThis
- AddToAny
ServiceLinks Module
There are so many options available in this module, we could do a full blog on just this one. But this is about comparing so let’s cover the basics.
- Download and install https://drupal.org/project/service_links.
- Enable the Service links module and at least one of the Service links services modules that shipped with this module. I enabled Widget services.
- Configure at admin/config/services/service-links. This is where you decide the type of node that can be shared and if you want the links at the bottom of the node).
- Select the widgets (Facebook, LinkedIn, etc) here admin/config/services/service-links/services.
- Configure widgets here admin/config/services/service-links/widgets.
- If you want the buttons in a block, visit the blocks admin page and configure either/or the node block or the block designed to allow non-node pages to be shared.
AddThis Module
This module taps into the Addthis.com service. You don’t need an account to make this work.
- Download and install https://drupal.org/project/addthis.
- Enable AddThis and AddThis Displays.
- Configure at admin/config/user-interface/addthis. This is where you select the social network services you want to make available.
- Add an AddThis field to the content types if you want the link to appear in the content type.
- Manage the display to make the icons to show and hide the label.
- If you want the buttons in a block, visit the blocks admin page and configure the AddThis block. This will share the non-node pages.
AddToAny Module
This module has the fewest options but it’s easy to set up.
- Download and install https://drupal.org/project/addtoany.
- Enable AddToAny.
- Configure for all content types at admin/config/system/addtoany. The screenshot shows the button in the Link variable but you can include where “Bookmark/Search …” is located. This module does not appear to give you the option to choose which networks you want users to be able to access.
- If you want the buttons in a block, visit the blocks admin page and configure the AddToAny block. This will share the applicable nodes and the homepage. It will not share non-node pages.
Social Share Module
I like the default buttons that come with this one.
- Download and install https://drupal.org/project/social-share.
- Enable Social Share.
- Configure at admin/config/content/social-share.
- Configure networks and label (if you want one) on each content type in the Social Share vertical tab.
- If you check the box to make a block, it will be automatically placed in a region … at least that’s what happened in Bartik. It showed up in the Header region. Configure the block to set the networks. FYI, the block recognizes non-node pages.
I know it hasn’t been updated that frequently lately, but don’t forget about Easy Social!
Thanks Alex. The related link for people interested: [url=https://drupal.org/project/easy_social]https://drupal.org/project/…[/url]
[url=https://drupal.org/project/responsive_share_buttons]https://drupal.org/project/…[/url] simple and easy.
Great. Thanks for the link, twooten.
There is also ShareMessage module based on Addthis API [url=https://drupal.org/project/sharemessage]https://drupal.org/project/…[/url]
Well Presented.. Thanks for sharing it
Great post.. Keep it up the same work..
Could you explain how to share only images in the content?
This looks like a promising sharing module for drupal! Responsive Share Buttons
[url=https://www.drupal.org/project/responsive_share_buttons]https://www.drupal.org/proj…[/url]
Oops Twooten already mentioned that one 🙂
There are tons of others too
which one is better for using in views
AddToAny is probably the most popular of them now.
Thanks
Daniel
This article is 3 years old but after investigating virtually every social sharing module currently available for Drupal, I determined AddToAny is best all around. It’s the most actively maintained, highly configurable with one of the smallest footprints.
Hi, Yes that was my suggestion to HDN.
Daniel
Cool
great
Thanks for the article. I’m searching something like this. Hope this will help me.
Unable to share my every page(basic page) via LinkedIn share button(Drupal 8)
1.create a basic page
2.tried and enable these modules like sharethis_block or addtoany or Social Sharing block and all modules same issue
3.ienable the module(sharethis_block) and other modules also check – add region in admin block layout
4.visible my icons in details page(basic page)
5.click LinkedIn it shows below issue
“Something went wrong
Refresh the page
Try again”
6.can you please let me how to add the LinkedIn share button and exact module and configuration, please
7.please explain LinkedIn setup and configuration.