{"id":13401308,"url":"https://github.com/720kb/angular-socialshare","last_synced_at":"2025-10-22T21:22:50.267Z","repository":{"id":21104088,"uuid":"24404489","full_name":"720kb/angular-socialshare","owner":"720kb","description":"Angular social share module, share urls and content on social networks such as facebook, google+, twitter, pinterest and more ... - http://720kb.github.io/angular-socialshare","archived":true,"fork":false,"pushed_at":"2020-09-02T09:51:50.000Z","size":828,"stargazers_count":507,"open_issues_count":25,"forks_count":163,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-09-25T00:32:26.397Z","etag":null,"topics":["angular","angularjs","media","share","sharing","social"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/720kb.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}},"created_at":"2014-09-24T07:09:20.000Z","updated_at":"2025-08-03T18:01:41.000Z","dependencies_parsed_at":"2022-08-25T12:40:25.083Z","dependency_job_id":null,"html_url":"https://github.com/720kb/angular-socialshare","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/720kb/angular-socialshare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-socialshare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-socialshare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-socialshare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-socialshare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/720kb","download_url":"https://codeload.github.com/720kb/angular-socialshare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-socialshare/sbom","scorecard":{"id":5528,"data":{"date":"2025-08-11","repo":{"name":"github.com/720kb/angular-socialshare","commit":"1bdd03a2ac96727427e243228c53f4a2778df35f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T13:27:58.339Z","repository_id":21104088,"created_at":"2025-08-14T13:27:58.339Z","updated_at":"2025-08-14T13:27:58.339Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276983450,"owners_count":25739928,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["angular","angularjs","media","share","sharing","social"],"created_at":"2024-07-30T19:01:01.222Z","updated_at":"2025-10-01T23:30:33.879Z","avatar_url":"https://github.com/720kb.png","language":"HTML","readme":"Angular Socialshare\n==================\n\n![Angular socialshare](http://i.imgur.com/dvoeyBu.png)\n\n[![Join the chat at https://gitter.im/720kb/angular-socialshare](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/720kb/angular-socialshare?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\nAngular Socialshare is an angularjs directive for sharing urls and content on social networks such as (facebook, google+, twitter, pinterest and so on).\n\n\nThe Angular Socialshare is developed by [720kb](http://720kb.net).\n\n#### Requirements\n\n\nAngularJS v1.3+\n\n#### Browser support\n\n\nChrome | Firefox | IE | Opera | Safari\n--- | --- | --- | --- | --- |\n ✔ | ✔ | IE9 + | ✔ | ✔ |\n\n\n## Load\n\nTo use the directive, include the angular socialshare's javascript file in your web page:\n\n```html\n\u003c!DOCTYPE HTML\u003e\n\u003chtml\u003e\n\u003cbody ng-app=\"app\"\u003e\n  //.....\n  \u003cscript src=\"src/js/angular-socialshare.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Installation\n\n\n#### Bower\n\n```bash\n$ bower install angularjs-socialshare --save\n```\n#### npm\n\n```bash\n$ npm install angular-socialshare --save\n```\n\n_then [load](https://github.com/720kb/angular-socialshare#load) it in your html_\n\n#### Add module dependency\nAdd the 720kb.socialshare module dependency\n\n```javascript\nangular.module('app', [\n  '720kb.socialshare'\n ]);\n```\n\nCall the directive wherever you want in your html page\n\n```html\n\u003ca href=\"#\"\nsocialshare\nsocialshare-provider=\"twitter\"\nsocialshare-text=\"720kb AngularJS Socialshare\"\nsocialshare-hashtags=\"angularjs, angular-socialshare\"\nsocialshare-url=\"http://720kb.net\"\u003e\nShare me\n\u003c/a\u003e\n```\nOR\n\nCall the Socialshare [service](#service)\n\n```javascript\n  .controller('Ctrl', ['Socialshare', function testController(Socialshare) {\n\n    Socialshare.share({\n      'provider': 'facebook',\n      'attrs': {\n        'socialshareUrl': 'http://720kb.net'\n      }\n    });\n```\n\n\n## Usage\n\nAngular socialshare allows you to use sharing options via `attribute` data\n\n#### Sharing Provider\n\nYou can set the social platform you want to share on using the `socialshare-provider=\"\"` attribute.\n\n##### Providers:\n\n- [email](#email)\n- [facebook](#facebook)\n- [facebook-messenger](#facebook-messenger)\n- [twitter](#twitter)\n- [linkedin](#linkedin)\n- [google](#google-plus)\n- [pinterest](#pinterest)\n- [tumblr](#tumblr)\n- [reddit](#reddit)\n- [stumbleupon](#stumbleupon)\n- [buffer](#buffer)\n- [digg](#digg)\n- [delicious](#delicious)\n- [vk](#vk)\n- [ok](#vk)\n- [pocket](#pocket)\n- [wordpress](#wordpress)\n- [flipboard](#flipboard)\n- [xing](#xing)\n- [hackernews](#hacker-news)\n- [evernote](#evernote)\n- [whatsapp](#whatsapp)\n- [telegram](#telegram)\n- [viber](#viber)\n- [skype](#skype)\n- [sms](#sms)\n- [weibo](#weibo)\n\nPlease use them all in lowercase (`socialshare-provider=\"delicious\"`)\n\n## Doc\n\n#### Facebook\n\n(`socialshare-provider=\"facebook\"`)\n\n\u003e As of April 2017 - If you want to share a photo and customize the previews you must use [Open Graph Metas](https://developers.facebook.com/docs/sharing/webmasters#markup)\n\n`simple sharer` = [Facebook simple share](https://developers.facebook.com/docs/plugins/share-button) , `share` = [Facebook Dialog Share](https://developers.facebook.com/docs/sharing/reference/share-dialog),    `feed` = [Facebook Dialog Feed](https://developers.facebook.com/docs/sharing/reference/feed-dialog), `send` = [Facebook Dialog Send](https://developers.facebook.com/docs/sharing/reference/send-dialog)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nshare, feed, send, **simple sharer**|socialshare-url=\"\"|page URL|false|Set the url/link to share\nfeed, send, share|socialshare-type=\"\"|String('feed' or 'send' or 'share')|**simple sharer**|Use a **simple sharer** or Dialog Send or Dialog Share or Dialog Feed\nfeed, send, share|socialshare-via=\"\"|String|false|Set the FB APP ID value\nfeed, send|socialshare-to=\"\"|String|false|Set the to value\nfeed | socialshare-from=\"\"|String|false|Set the from to value\nfeed, send|socialshare-ref=\"\"|String('comma,separated')|false|Set the ref value\nfeed, send, share|socialshare-display=\"\"|String('popup')|false|Set the display value\nshare|socialshare-quote=\"\"|String|false|Set the display text\nshare|socialshare-hashtags=\"\"|String|false|Set the display value along with # Eg:#facebook (one only hashtag)\nfeed|socialshare-source=\"\"|URL|false| Set the URL of a media file (either SWF or MP3) attached to this post\nfeed, send|socialshare-redirect-uri=\"\"|URL|false|Set the redirect URI\nshare|socialshare-mobileiframe=\"\"|boolean|false|If set to true the share button will open the share dialog in an iframe on top of your website. This option is only available for mobile, not desktop.\n\n#### Facebook Messenger\n`mobile only` - (works only for `\u003ca\u003e` elements, it is a direct link)\n\n(`socialshare-provider=\"facebook-messenger\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\n\n\n#### Twitter\n\n(`socialshare-provider=\"twitter\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL | page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-via=\"\"|String('username')|false|Set the via to share\nsharer|socialshare-hashtags=\"\"|String('hash,tag,hastag')|false|Set the hashtags to share\n\n\n#### Linkedin\n\n(`socialshare-provider=\"linkedin\"`)\n\nMethod | Option | Type | Default | Description\n-------------|-------------|-------------|-------------|-------------\nsharer|socialshare-url=\"\"|URL|pageURL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the title value that you wish to use\nsharer|socialshare-description=\"\"|String|false|Set the description value that you wish to use\nsharer|socialshare-source=\"\"|String|false|Set the source of the content\n\n#### Reddit\n\n(`socialshare-provider=\"reddit\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|pageURL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the text content to share\nsharer|socialshare-subreddit=\"\"|String('technology')|false|Set the subreddit to share on\n\n#### Vk\n\n(`socialshare-provider=\"vk\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the title to share\nsharer|socialshare-description=\"\"|String|false| Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the image source to share\n \n#### OK\n\n(ok.ru)\n\n(`socialshare-provider=\"ok\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n#### Digg\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\n\n#### Delicious\n\n(`socialshare-provider=\"delicious\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\n\n#### StumbleUpon\n\n(`socialshare-provider=\"stumbleupon\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\n\n#### Pinterest\n\n(`socialshare-provider=\"pinterest\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\n\n#### Google (Plus)\n\n(`socialshare-provider=\"google\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\n\n#### Tumblr\n\n(`socialshare-provider=\"tumblr\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\n\n#### Buffer\n\n(`socialshare-provider=\"buffer\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\nsharer|socialshare-via=\"\"|URL|false|Set the buffer via\n\n#### Pocket\n\n(`socialshare-provider=\"pocket\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n#### Flipboard\n\n(`socialshare-provider=\"flipboard\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n#### Evernote\n\n(`socialshare-provider=\"evernote\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n\n#### Hacker News\n\n(`socialshare-provider=\"hackernews\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n#### Wordpress\n\n(`socialshare-provider=\"wordpress\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\n\n\n#### Xing\n\n(`socialshare-provider=\"xing\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-media=\"\"|URL|false|Set the media url to share\nsharer|socialshare-follow=\"\"|URL|false|\tSet the Xing page url which will be then suggested to you to follow\n\n\n#### Whatsapp\n`mobile only` - (works only for `\u003ca\u003e` elements, it is a direct link)\n\n(`socialshare-provider=\"whatsapp\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n#### Telegram\n\n(`socialshare-provider=\"telegram\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n\n#### Viber\n`mobile only` -  (works only for `\u003ca\u003e` elements, it is a direct link)\n\n(`socialshare-provider=\"viber\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n\n#### Skype\n\n(`socialshare-provider=\"skype\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n#### Email\n\n(`socialshare-provider=\"email\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nmailto|socialshare-subject=\"\"|String|false|Set the subject for the email\nmailto|socialshare-body=\"\"|String|false|Set the body content for the email\nmailto|socialshare-to=\"\"|String|false|Set the Receiver / Receivers\nmailto|socialshare-cc=\"\"|String|false|Set the CC / CCs for the email\nmailto|socialshare-bcc=\"\"|String|false|Set the BCC / BCCs for the email\n\n#### Sms\n(works only for `\u003ca\u003e` elements, it is a direct link)\n\n(`socialshare-provider=\"sms\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\nsharer|socialshare-to=\"\"|URL|false|Set the phone number of the contact\n\n\n#### Weibo\n\n(`socialshare-provider=\"weibo\"`)\n\nMethod | Option | Type | Default | Description\n------------- | ------------- | ------------- | ------------- | -------------\nsharer|socialshare-url=\"\"|URL|page URL|Set the url to share\nsharer|socialshare-text=\"\"|String|false|Set the content to share\n\n## Options\n\n#### Sharing Popup Size\nYou can set a specific Height or Width for the sharing popup using the `socialshare-popup-height=\"\"` and `socialshare-popup-width=\"\"` attributes (sometimes, if if the popup is too small, it gets resized by third parties)\n\n```html\n\u003ca href=\"#\"\nsocialshare\nsocialshare-provider=\"reddit\"\nsocialshare-url=\"http://720kb.net\"\nsocialshare-text=\"Sharing it!\"\nsocialshare-popup-height=\"800\"\nsocialshare-popup-width=\"800\"\u003e\nShare with a bigger popup\n\u003c/a\u003e\n```\n\n#### Sharing Event Trigger\nYou can choose to bind a different event trigger for showing up the sharer popup using the `socialshare-trigger=\"\"` attribute (you can use any angular `element.bind()` event you want)\n\n```html\n\u003ca href=\"#\"\nsocialshare\nsocialshare-provider=\"reddit\"\nsocialshare-text=\"Sharing on mouseover\"\nsocialshare-trigger=\"mouseover\"\u003e\nShare me when mouse is over\n\u003c/a\u003e\n```\nor a set of\n\n```html\n\u003ca href=\"#\"\nsocialshare\nsocialshare-provider=\"reddit\"\nsocialshare-text=\"Sharing on mouseover\"\nsocialshare-trigger=\"focusout mouseleave\"\u003e\nShare me when focusout or mouseleave\n\u003c/a\u003e\n```\n\n## Service\nYou may need to share from a controller (for example), this is how to use the `Socialshare` service:\n\n```javascript\n  .controller('Ctrl', ['Socialshare', function testController(Socialshare) {\n\n    Socialshare.share({\n      'provider': 'facebook',\n      'attrs': {\n        'socialshareUrl': 'http://720kb.net'\n      }\n    });\n\n    Socialshare.share({\n      'provider': 'twitter',\n      'attrs': {\n        'socialshareUrl': 'http://720kb.net',\n        'socialshareHashtags': '720kb, angular, socialshare'\n      }\n    });\n    //every attrs must be in camel case as showed above\n    //this will open the share popup immediately without any trigger event required\n```\n_Some providers (specially mobile provider, such as: Viber, Whatsapp etc..) do not work with a Service call, because their API or Usage does not allow a trigger event on them_\n\n## Globals\n\n#### Provider setup\nSometimes you may need to set default values for all the sharing buttons, here is how to setup this:\n\n```javascript\n.config(['socialshareConfProvider', function configApp(socialshareConfProvider) {\n\n  socialshareConfProvider.configure([\n    {\n      'provider': 'twitter',\n      'conf': {\n        'url': 'http://720kb.net',\n        'text': '720kb is enough',\n        'via': 'npm',\n        'hashtags': 'angularjs,socialshare,angular-socialshare',\n        'trigger': 'click',\n        'popupHeight': 800,\n        'popupWidth' : 400\n      }\n    },\n    {\n      'provider': 'facebook',\n      'conf': {\n        'url': 'http://720kb.net',\n        'trigger': 'mouseover',\n        'popupHeight': 1300,\n        'popupWidth' : 1000\n      }\n    }\n  //and so on ...\n  ]);\n}]);\n```\n*NB* if you define the provider settings, but then you change the option value by html attributes, the html attribute value will be the final one (the one that will be used)\n\n\n#### [Live demo](https://720kb.github.io/angular-socialshare)\n\n\n## Contributing\n\nWe will be much grateful if you help us making this project to grow up.\nFeel free to contribute by forking, opening issues, pull requests etc.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Filippo Oretti, Dario Andrei\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fangular-socialshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F720kb%2Fangular-socialshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fangular-socialshare/lists"}