Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Social media share

Security covered Under active development 8,960 sites

Part of the Social ecosystem · 70 projects

This module allows you to easily add social media sharing buttons to your Drupal website. You can display these buttons as a block on any page or add them as a field to your content. It supports various platforms like Facebook, Twitter, LinkedIn, and email, and is flexible enough to be extended with custom sharing options.

The social media share module allows the user to share the current page to different social media platforms. It is rendered as a block, you can place it anywhere of your site.

The module provides social media field type so that you can add it as a field in entity and take all benefits from field API.

It is flexible to share any page of the site whether it is a node, term, panels, view pages so on.

Currently, the module provides many services by default
- Facebook share
- Facebook messenger
- Linkedin
- Twitter
- Pinterest
- Email (Client email service(:mailto) , Forward email as model dialogue, forward email as a separate page)
- Whatsapp ( Optional, needs to be enabled in the configuration )

You have full flexibility to add more services, modify the elements before render, change orders or so on. You can also completely disabled any services from the configuration page(admin/config/services/social-media).

Event subscribe

The module provides an event so that others can develop an event subscriber to modify.
Event Subscriber name:-

social_media.add_more_social_media
-----------------------------------
Used for adding your own social media or extend more.

social_media.pre_execute
-----------------------------------
Used for modify the configuration array before executing.

social_media.pre_render
-----------------------------------
Used for modify element just before rendered.

Check the social_media.api file to see the implementation of an event subscriber. Also, check the readme file to get more details.

You can get more details of the project from
http://www.drupalsharing.com/project/social-media-share

Drupal 10–11

Ask your assistant about Social media share

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • Token
  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
May 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Feb 18, 2025
2.0.0 Stable 9–10 May 10, 2023
2.0.x-dev Dev 10–11 May 7, 2023