{"id":21674372,"url":"https://github.com/drunomics/social_share","last_synced_at":"2026-05-11T09:04:13.889Z","repository":{"id":77299070,"uuid":"88190233","full_name":"drunomics/social_share","owner":"drunomics","description":"Contextually configurable social share links.","archived":false,"fork":false,"pushed_at":"2024-06-03T23:11:48.000Z","size":133,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"8.x-2.x","last_synced_at":"2025-03-16T01:44:56.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.drupal.org/project/social_share","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drunomics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-13T17:32:47.000Z","updated_at":"2018-01-31T11:08:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"81559b3e-2563-4c2c-bc4a-81ac967287ad","html_url":"https://github.com/drunomics/social_share","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fsocial_share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fsocial_share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fsocial_share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fsocial_share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drunomics","download_url":"https://codeload.github.com/drunomics/social_share/tar.gz/refs/heads/8.x-2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244583190,"owners_count":20476233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T13:44:16.012Z","updated_at":"2026-05-11T09:04:08.849Z","avatar_url":"https://github.com/drunomics.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social share links\n\n## Dependencies:\n\n- Typed data module: https://www.drupal.org/project/typed_data\n\n\n## Overview:\n\nThe modules provides social share link plugins. The plugins are configurable\nvia a field type \u0026 field formatter which allows editors to select wanted social\nmedia links.\n\nEach plugin defines its own context parameters, which are used when rendering\nthe social share link, e.g. the to be shared text and URL.\n \n\n### Default plugins\n\nThe default plugins coming with the module focus on the following:\n \n * Easy customizability, thus every plugin has a template so the markup can be\n   easily controlled. There are no nice icons out of the box as it is expected\n   for the theme to provide this.\n   \n * Simple: Use simple sharing URLs and avoid extra javascript if necessary. The\n   module comes with a quite simple javascript that takes care of opening the\n   sharing URLs in a suiting modal window.\n\n * Privacy enabled: They do not load external javascript assets.\n \n * Flexible: As every plugin can have its own context parameters, all parameters\n   supported by a social share link provider can be configured.\n \n### Usage:\n \n * Configure the social share link field type on an entity and be sure to select\n   the social share link formatter.\n * In the formatter settings, configure all needed context parameters. You may\n   use token replacements for all entity fields and their properties.\n   \n   Some example token replacements, from a field on a media entity:\n   - `{{ media.field_description.processed|striptags }}`\n   - `{{ media.field_image.entity|entity_url }}`\n   - `{{ media.field_image.entity|entity_url }}`\n   \n   Some examples from a block with node context, or a field on a node:\n   - `{{ node.title.value }}`\n   - `{{ node.field_teaser_media.entity.field_image.entity|entity_url }}`\n\n### Todos\n\n - Get typed data token replacements documented and point to the documentation.\n - Add some UI for picking token replacements once this is provided by the Typed Data module.\n\n## Development\n\n* Social share links are plugins which can be added by modules.\n* Context parameters are by default shared with other plugins if the name\n  matches, thus use reasonable names and check other plugins for fitting \n  context parameters that can be used as well.\n  If parameters are for a certain plugin only, prefix them with your plugin\n  name, e.g. \"facebook_\".\n* Plugin IDs should be prefixed with the module name.\n\n\n## Credits\n\n- Development of the Drupal 8 version: \n  Wolfgang Ziegler // fago\n  drunomics GmbH, hello@drunomics.com\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrunomics%2Fsocial_share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrunomics%2Fsocial_share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrunomics%2Fsocial_share/lists"}