Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Release: Change Requests 2.1.9 Minor update available for module change_requests (2.1.9). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Social media share

8,669 sites Security covered Drupal 10–11 Social ecosystem
View on drupal.org

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

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
1
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.1 Stable 10–11 Feb 18, 2025