Drupal is a registered trademark of Dries Buytaert

better_social_share

158 sites No security coverage
View on drupal.org

The Better Social Share module enhances social sharing functionality in Drupal by using the native sharing methods provided by popular social platforms—without relying on third-party services like AddThis, ShareThis, or AddToAny. This ensures a faster, cleaner, and more efficient sharing experience for users.

With support for over 100 social media platforms and flexible integration options, Better Social Share allows you to place share buttons on entities, Views, and blocks. Its extensive customization settings help you smoothly match the sharing UI to your site’s design and improve content visibility across multiple online communities.

Installation

Features

  • Extensive Social Media Support:
    Integrates with 100+ social networks including Facebook, Twitter, LinkedIn, WhatsApp, Pinterest, and many more.
  • Flexible Entity Integration:
    Add share buttons through Manage Display, Views fields, or share button blocks.
  • Customizable Icon Selection:
    Choose which social platforms to display and define custom ordering.
  • Enhanced "More" Button:
    Show or hide the popup-based More button; customize its icon and behavior.
  • Icon Size & Color Controls:
    Adjust icon size, use default platform colors, or apply custom color schemes.
  • Custom Display Options:
    Control floating placement (left/right) with adjustable top positioning for the share block.
  • Twig Template Override Support:
    Override templates, for instance, you can copy the template file from, for example, "templates/template-parts/facebook.html.twig" to your active theme's path in the "templates/" directory. From there, you can customize the HTML. Additionally, you have the option to implement your own layout using custom CSS and override the JavaScript codes for various effects.

Post-Installation

After installing Better Social Share, enable the module and configure its appearance and behavior. Steps:

  1. Go to Extend in the admin interface and enable the module.
  2. Navigate to Configuration → Web Services → Better Social Share (/admin/config/services/better-social-share) to choose social platforms, icon sizes, colors, and More button settings.
  3. Go to Block Layout and place the Better Social Share Buttons block in any theme region.
  4. Optionally, add share buttons as a field in a View via /admin/structure/views/add.

Once configured, the share buttons will appear on your site with your preferred styling and platform selection.

Additional Requirements

  • Drupal Version: Drupal 10 or higher.
  • Browser Support: Modern browsers supporting JavaScript-based sharing and popup behavior.

No additional libraries are required.
Custom theming is optional and can be done via Twig templates and CSS overrides.

Similar Projects

Troubleshooting & FAQ

  • Icons not showing? Ensure the selected platforms are enabled in the configuration page.
  • Incorrect icon size or colors? Check icon size and color customization settings.
  • More button not displaying? Verify the More button option is enabled and properly configured.
  • Layout looks misaligned? Adjust floating and positioning values in display settings.

Support

Please report bugs, request features, and ask support questions in the
Better Social Share issue queue.

Activity

Total releases
2
First release
Dec 2025
Latest release
2 months ago
Release cadence
1 day
Stability
100% stable

Releases

Version Type Release date
1.1.5 Stable Dec 12, 2025
1.1.4 Stable Dec 11, 2025