{"id":16541349,"url":"https://github.com/aerni/statamic-social-links","last_synced_at":"2025-06-28T01:05:38.494Z","repository":{"id":38011524,"uuid":"277772205","full_name":"aerni/statamic-social-links","owner":"aerni","description":"Easily generate sharing links for your favorite social media channels","archived":false,"fork":false,"pushed_at":"2024-05-07T13:21:39.000Z","size":30,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T13:47:12.125Z","etag":null,"topics":["statamic","statamic-addon"],"latest_commit_sha":null,"homepage":"https://statamic.com/addons/aerni/social-links","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aerni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-07T09:20:59.000Z","updated_at":"2024-07-03T03:54:09.000Z","dependencies_parsed_at":"2024-05-07T14:44:43.013Z","dependency_job_id":null,"html_url":"https://github.com/aerni/statamic-social-links","commit_stats":{"total_commits":24,"total_committers":4,"mean_commits":6.0,"dds":0.125,"last_synced_commit":"14058f9606a1257448c227ceba0be971f02a183c"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/aerni/statamic-social-links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Fstatamic-social-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Fstatamic-social-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Fstatamic-social-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Fstatamic-social-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerni","download_url":"https://codeload.github.com/aerni/statamic-social-links/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerni%2Fstatamic-social-links/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262357553,"owners_count":23298463,"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":["statamic","statamic-addon"],"created_at":"2024-10-11T18:54:45.688Z","updated_at":"2025-06-28T01:05:38.434Z","avatar_url":"https://github.com/aerni.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SocialLinks ![Statamic](https://flat.badgen.net/badge/Statamic/4.0+/FF269E)\nThis addon provides an easy way to create social profile and sharing links for channels like Facebook, Twitter and more.\n\n## Installation\nInstall the addon using Composer.\n\n```bash\ncomposer require aerni/social-links\n```\n\n***\n\n## Supported Channels\n\nThis addon supports the following social channels:\n`Facebook`, `GitHub`, `Instagram`, `LinkedIn`, `Mail`, `Pinterest`, `Telegram`, `Twitter`, `Vimeo`, `WhatsApp`, `Xing`, `YouTube`\n\n***\n\n## Profile Link\n\nCreate a link to a social profile by providing the social `channel` and `handle` of the profile:\n\n```antlers\n{{ social:profile channel=\"facebook\" handle=\"michaelaerni\" }}\n```\n\nOr using the shorthand:\n\n```antlers\n{{ social:facebook:profile handle=\"michaelaerni\" }}\n```\n\n***\n\n## Sharing Link\n\nCreate a sharing link by providing the social `channel`:\n\n```antlers\n{{ social:share channel=\"facebook\" }}\n```\n\nOr using the shorthand:\n\n```antlers\n{{ social:facebook:share }}\n```\n\n### Parameters\n\nThere are a number of parameters you may use to customize the sharing links:\n\n#### Facebook\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n| `text` | The text of your post | Optional\n\n#### LinkedIn\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n| `title` | The title of your post | Optional\n| `text` | The text of your post | Optional\n| `source` | The source of your post | Optional\n\n#### Mail\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n| `to` | The email address you want to send the email to | Optional\n| `cc` | The email address to CC | Optional\n| `bcc` | The email address to BCC | Optional\n| `subject` | The subject of the email | Optional\n| `body` | The body of the email | Optional\n\nThe `url` will be placed in the body of the email by default. You can customize the email body text by using the `body` parameter. Note, that this will override the default body text that includes the `url`. You will have to manually add the `url` in the `body` parameter like so:\n\n```antlers\n{{ social:mail:share body=\"I want to share this great site with you: {permalink}\" }}\n```\n\n#### Pinterest\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n| `image` | The image to share | Optional\n\n#### Telegram\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n| `text` | The description of your shared page | Optional\n\n#### Twitter\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n| `text` | The text of your Tweet | Optional\n| `handle` | The twitter handle you want to add to the Tweet | Optional\n\n#### WhatsApp\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n\n#### Xing\n\n| Name | Description | Usage |\n|------|-------------|-------|\n| `url` | The URL of the page to share | Optional\n\n\n***\n\n## Channel Name\n\nGet the name of a social channel:\n\n```antlers\n{{ social:name channel=\"facebook\" }}\n```\n\nOr using the shorthand:\n\n```antlers\n{{ social:facebook:name }}\n```\n***\n\n## Tag Pair\n\nYou may also use a tag pair to get all the data at once:\n\n```antlers\n{{ social channel=\"facebook\" handle=\"michaelaerni\" }}\n  {{ profile }}\n  {{ share }}\n  {{ name }}\n{{ /social }}\n```\n\nOr using the shorthand:\n\n```antlers\n{{ social:facebook handle=\"michaelaerni\" }}\n  {{ profile }}\n  {{ share }}\n  {{ name }}\n{{ /social:facebook }}`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerni%2Fstatamic-social-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerni%2Fstatamic-social-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerni%2Fstatamic-social-links/lists"}