diff --git a/bower.json b/bower.json index 351e5e7..5710716 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-socialshare", - "version": "2.3.0", + "version": "2.3.1", "description": "A social media url and content share module for angularjs.", "authors": [ "Filippo Oretti =0) - { + if(attrs.socialshareText.indexOf('%') >= 0) { $log.warn('sending sms text with "%" sign is not supported'); } @@ -810,7 +809,7 @@ , 'Skype', 'toolbar=0,status=0,resizable=yes,width=' + attrs.socialsharePopupWidth + ',height=' + attrs.socialsharePopupHeight + ',top=' + ($window.innerHeight - attrs.socialsharePopupHeight) / 2 + ',left=' + ($window.innerWidth - attrs.socialsharePopupWidth) / 2); } - , socialshareService = /*@ngInject*/ ['$window', function socialshareService($window) { + , socialshareService = /*@ngInject*/ ['$window', '$log', function socialshareService($window, $log) { this.emailShare = manageEmailShare; this.facebookShare = manageFacebookShare; @@ -840,6 +839,7 @@ //**** whatsapp can't share without an element clicked (href) //this.whatsappShare = manageWhatsappShare; this.skypeShare = skypeShare; + this.smsShare = manageSmsShare; this.share = function shareTrigger(serviceShareConf) { @@ -848,6 +848,10 @@ this.emailShare($window, serviceShareConf.attrs); break; } + case 'sms': { + this.smsShare($window, $log, serviceShareConf.attrs); + break; + } case 'facebook': { this.facebookShare($window, serviceShareConf.attrs); break; diff --git a/dist/angular-socialshare.js.map b/dist/angular-socialshare.js.map index 8472ad6..c14089d 100644 --- a/dist/angular-socialshare.js.map +++ b/dist/angular-socialshare.js.map @@ -1 +1 @@ -{"version":3,"sources":["angular-socialshare.js"],"names":["angular","directiveName","serviceName","socialshareProviderNames","socialshareConfigurationProvider","socialshareConfigurationDefault","provider","conf","subject","body","to","cc","bcc","trigger","url","text","media","type","via","from","ref","display","source","caption","redirectUri","popupHeight","popupWidth","hashtags","description","subreddit","follow","configure","configuration","configurationKeys","configurationIndex","aConfigurationKey","configElement","configIndex","internIndex","$log","injector","get","length","indexOf","Object","keys","warn","$get","manageFacebookShare","$window","attrs","urlString","socialshareType","socialshareVia","encodeURIComponent","socialshareRedirectUri","socialshareUrl","socialshareTo","socialshareDisplay","socialshareRef","socialshareFrom","socialshareDescription","socialshareText","socialshareCaption","socialshareMedia","socialshareSource","open","socialsharePopupWidth","socialsharePopupHeight","innerHeight","innerWidth","location","href","manageEmailShare","socialshareBody","socialshareSubject","socialshareCc","socialshareBcc","facebookMessengerShare","element","attr","manageTwitterShare","socialshareHashtags","manageGooglePlusShare","manageRedditShare","socialshareSubreddit","manageStumbleuponShare","manageLinkedinShare","managePinterestShare","manageDiggShare","manageTumblrShare","manageVkShare","manageOkShare","manageDeliciousShare","manageBufferShare","manageHackernewsShare","manageFlipboardShare","managePocketShare","manageWordpressShare","manageXingShare","followUrl","socialshareFollow","manageEvernoteShare","manageWhatsappShare","manageSmsShare","replace","toPhoneNumber","manageViberShare","manageTelegramShare","skypeShare","socialshareService","this","emailShare","facebookShare","twitterShare","stumbleuponShare","pinterestShare","googleShare","bufferShare","hackernewsShare","okShare","deliciousShare","pocketShare","vkShare","flipboardShare","xingShare","diggShare","linkedinShare","wordpressShare","telegramShare","redditShare","evernoteShare","tumblrShare","share","serviceShareConf","socialshareDirective","socialshareConf","linkingFunction","$scope","configurationElement","index","onEventTriggered","socialshareProvider","sharingFunctions","socialshareDislay","socialshareTrigger","bind","restrict","link","email","facebook","facebook-messenger","twitter","google","reddit","stumbleupon","linkedin","pinterest","digg","tumblr","vk","ok","delicious","buffer","hackernews","flipboard","pocket","wordpress","xing","evernote","whatsapp","sms","telegram","viber","skype","module","service","directive"],"mappings":";;;;;;;;;;CAaC,SAAqBA,GACpB,YAEA,IAAIC,GAAgB,cAChBC,EAAc,cACdC,GAA4B,WAAY,qBAAqB,MAAO,UAAW,WAAY,SAAU,YAAa,SAAU,SAAU,cAAe,SAAU,OAAQ,YAAa,KAAM,SAAU,YAAa,YAAa,OAAQ,aAAc,WAAY,WAAY,WAAY,QAAS,QAAS,QAAS,MACnTC,EAAiD,WAEjD,GAAIC,KACFC,SAAY,QACZC,MACEC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MyB,oBAAsBgE,EAAqBpI,KAAKC,QACjF0C,EAAM0B,cAAgB1B,EAAM0B,eAAiB+D,EAAqBpI,KAAKI,GACvEuC,EAAM2B,eAAiB3B,EAAM2B,gBAAkB8D,EAAqBpI,KAAKK,IAErEsC,EAAM+F,mBAERlE,EAAQmE,KAAKhG,EAAM+F,mBAAoBJ,GAGvCA,IAIJ,QACEM,SAAY,IACZC,KAAQX,KAGVM,GACEM,MAAS5E,EACT6E,SAAYtG,EACZuG,qBAAsBzE,EACtB0E,QAAWvE,EACXwE,OAAUtE,EACVuE,OAAUtE,EACVuE,YAAerE,EACfsE,SAAYrE,EACZsE,UAAarE,EACbsE,KAAQrE,EACRsE,OAAUrE,EACVsE,GAAMrE,EACNsE,GAAMrE,EACNsE,UAAarE,EACbsE,OAAUrE,EACVsE,WAAcrE,EACdsE,UAAarE,EACbsE,OAAUrE,EACVsE,UAAarE,EACbsE,KAAQrE,EACRsE,SAAYnE,EACZoE,SAAYnE,EACZoE,IAAOnE,EACPoE,SAAYhE,EACZiE,MAASlE,EACTmE,MAASjE,EAIf7G,GAAQ+K,OAAO,wBACdzK,SAASL,EAAgB,OAAQG,GACjC4K,QAAQ9K,EAAa4G,GACrBmE,UAAUhL,EAAesI,IAC1BvI","file":"angular-socialshare.js","sourceRoot":"../lib"} \ No newline at end of file +{"version":3,"sources":["angular-socialshare.js"],"names":["angular","directiveName","serviceName","socialshareProviderNames","socialshareConfigurationProvider","socialshareConfigurationDefault","provider","conf","subject","body","to","cc","bcc","trigger","url","text","media","type","via","from","ref","display","source","caption","redirectUri","popupHeight","popupWidth","hashtags","description","subreddit","follow","configure","configuration","configurationKeys","configurationIndex","aConfigurationKey","configElement","configIndex","internIndex","$log","injector","get","length","indexOf","Object","keys","warn","$get","manageFacebookShare","$window","attrs","urlString","socialshareType","socialshareVia","encodeURIComponent","socialshareRedirectUri","socialshareUrl","socialshareTo","socialshareDisplay","socialshareRef","socialshareFrom","socialshareDescription","socialshareText","socialshareCaption","socialshareMedia","socialshareSource","open","socialsharePopupWidth","socialsharePopupHeight","innerHeight","innerWidth","location","href","manageEmailShare","socialshareBody","socialshareSubject","socialshareCc","socialshareBcc","facebookMessengerShare","element","attr","manageTwitterShare","socialshareHashtags","manageGooglePlusShare","manageRedditShare","socialshareSubreddit","manageStumbleuponShare","manageLinkedinShare","managePinterestShare","manageDiggShare","manageTumblrShare","manageVkShare","manageOkShare","manageDeliciousShare","manageBufferShare","manageHackernewsShare","manageFlipboardShare","managePocketShare","manageWordpressShare","manageXingShare","followUrl","socialshareFollow","manageEvernoteShare","manageWhatsappShare","manageSmsShare","replace","toPhoneNumber","manageViberShare","manageTelegramShare","skypeShare","socialshareService","this","emailShare","facebookShare","twitterShare","stumbleuponShare","pinterestShare","googleShare","bufferShare","hackernewsShare","okShare","deliciousShare","pocketShare","vkShare","flipboardShare","xingShare","diggShare","linkedinShare","wordpressShare","telegramShare","redditShare","evernoteShare","tumblrShare","smsShare","share","serviceShareConf","socialshareDirective","socialshareConf","linkingFunction","$scope","configurationElement","index","onEventTriggered","socialshareProvider","sharingFunctions","socialshareDislay","socialshareTrigger","bind","restrict","link","email","facebook","facebook-messenger","twitter","google","reddit","stumbleupon","linkedin","pinterest","digg","tumblr","vk","ok","delicious","buffer","hackernews","flipboard","pocket","wordpress","xing","evernote","whatsapp","sms","telegram","viber","skype","module","service","directive"],"mappings":";;;;;;;;;;CAaC,SAAqBA,GACpB,YAEA,IAAIC,GAAgB,cAChBC,EAAc,cACdC,GAA4B,WAAY,qBAAqB,MAAO,UAAW,WAAY,SAAU,YAAa,SAAU,SAAU,cAAe,SAAU,OAAQ,YAAa,KAAM,SAAU,YAAa,YAAa,OAAQ,aAAc,WAAY,WAAY,WAAY,QAAS,QAAS,QAAS,MACnTC,EAAiD,WAEjD,GAAIC,KACFC,SAAY,QACZC,MACEC,QAAW,GACXC,KAAQ,GACRC,GAAM,GACNC,GAAM,GACNC,IAAO,GACPC,QAAW,WAIbP,SAAY,WACZC,MACEO,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AqBzB,EAAMyB,oBAAsBiE,EAAqBrI,KAAKC,QACjF0C,EAAM0B,cAAgB1B,EAAM0B,eAAiBgE,EAAqBrI,KAAKI,GACvEuC,EAAM2B,eAAiB3B,EAAM2B,gBAAkB+D,EAAqBrI,KAAKK,IAErEsC,EAAMgG,mBAERnE,EAAQoE,KAAKjG,EAAMgG,mBAAoBJ,GAGvCA,IAIJ,QACEM,SAAY,IACZC,KAAQX,KAGVM,GACEM,MAAS7E,EACT8E,SAAYvG,EACZwG,qBAAsB1E,EACtB2E,QAAWxE,EACXyE,OAAUvE,EACVwE,OAAUvE,EACVwE,YAAetE,EACfuE,SAAYtE,EACZuE,UAAatE,EACbuE,KAAQtE,EACRuE,OAAUtE,EACVuE,GAAMtE,EACNuE,GAAMtE,EACNuE,UAAatE,EACbuE,OAAUtE,EACVuE,WAActE,EACduE,UAAatE,EACbuE,OAAUtE,EACVuE,UAAatE,EACbuE,KAAQtE,EACRuE,SAAYpE,EACZqE,SAAYpE,EACZqE,IAAOpE,EACPqE,SAAYjE,EACZkE,MAASnE,EACToE,MAASlE,EAIf7G,GAAQgL,OAAO,wBACd1K,SAASL,EAAgB,OAAQG,GACjC6K,QAAQ/K,EAAa4G,GACrBoE,UAAUjL,EAAeuI,IAC1BxI","file":"angular-socialshare.js","sourceRoot":"../lib"} \ No newline at end of file diff --git a/dist/angular-socialshare.min.js b/dist/angular-socialshare.min.js index 2aa1fc0..c129549 100644 --- a/dist/angular-socialshare.min.js +++ b/dist/angular-socialshare.min.js @@ -1,12 +1,12 @@ /* * angular-socialshare - * 2.3.0 + * 2.3.1 * * A social media url and content share module for angularjs. * http://720kb.github.io/angular-socialshare * * MIT license - * Wed Sep 28 2016 + * Thu Sep 29 2016 */ -!function(e){"use strict";var o="socialshare",i="Socialshare",t=["facebook","facebook-messenger","sms","twitter","linkedin","google","pinterest","tumblr","reddit","stumbleupon","buffer","digg","delicious","vk","pocket","wordpress","flipboard","xing","hackernews","evernote","whatsapp","telegram","viber","skype","email","ok"],a=function(){var o=[{provider:"email",conf:{subject:"",body:"",to:"",cc:"",bcc:"",trigger:"click"}},{provider:"facebook",conf:{url:"",text:"",media:"",type:"",via:"",to:"",from:"",ref:"",display:"",source:"",caption:"",redirectUri:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"facebook-messenger",conf:{url:""}},{provider:"twitter",conf:{url:"",text:"",via:"",hashtags:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"linkedin",conf:{url:"",text:"",description:"",source:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"reddit",conf:{url:"",text:"",subreddit:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"vk",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"ok",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"digg",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"delicious",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"stumbleupon",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"pinterest",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"google",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"tumblr",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"buffer",conf:{url:"",text:"",via:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"pocket",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"flipboard",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"hackernews",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"wordpress",conf:{url:"",text:"",media:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"xing",conf:{url:"",text:"",media:"",follow:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"evernote",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"whatsapp",conf:{url:"",text:""}},{provider:"sms",conf:{url:"",text:"",to:"",trigger:"click"}},{provider:"telegram",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}},{provider:"viber",conf:{url:"",text:""}},{provider:"skype",conf:{url:"",text:"",trigger:"click",popupHeight:600,popupWidth:500}}];return{configure:function(i){var a,r,s,h,c=0,n=0,p=e.injector(["ng"]).get("$log");if(i&&i.length>0)for(;c-1){for(;n=0&&$log.warn('sending sms text with "%" sign is not supported');var t=encodeURIComponent(o.socialshareText.replace("%",""))+" - "+encodeURIComponent(o.socialshareUrl),a=o.socialshareTo||"",r="sms:"+a+"?&body="+t;i.attr("href",r),i.attr("target","_blank")},x=function(e,o,i){var t="viber://forward?text="+encodeURIComponent(o.socialshareText+" ")+encodeURIComponent(o.socialshareUrl||e.location.href);i.attr("href",t),i.attr("target","_top")},S=function(e,o){var i="https://telegram.me/share/url?url="+encodeURIComponent(o.socialshareUrl||e.location.href);o.socialshareText&&(i+="&text="+encodeURIComponent(o.socialshareText)),e.open(i,"Telegram","toolbar=0,status=0,resizable=yes,width="+o.socialsharePopupWidth+",height="+o.socialsharePopupHeight+",top="+(e.innerHeight-o.socialsharePopupHeight)/2+",left="+(e.innerWidth-o.socialsharePopupWidth)/2)},T=function(e,o){var i="https://web.skype.com/share?source=button&url="+encodeURIComponent(o.socialshareUrl||e.location.href);o.socialshareText&&(i+="&text="+encodeURIComponent(o.socialshareText)),e.open(i,"Skype","toolbar=0,status=0,resizable=yes,width="+o.socialsharePopupWidth+",height="+o.socialsharePopupHeight+",top="+(e.innerHeight-o.socialsharePopupHeight)/2+",left="+(e.innerWidth-o.socialsharePopupWidth)/2)},y=["$window",function(e){this.emailShare=s,this.facebookShare=r,this.twitterShare=c,this.stumbleuponShare=l,this.pinterestShare=u,this.googleShare=n,this.bufferShare=U,this.hackernewsShare=w,this.okShare=b,this.deliciousShare=k,this.pocketShare=H,this.vkShare=m,this.flipboardShare=P,this.xingShare=W,this.diggShare=g,this.linkedinShare=d,this.wordpressShare=v,this.telegramShare=S,this.redditShare=p,this.evernoteShare=R,this.tumblrShare=f,this.skypeShare=T,this.share=function(o){switch(o.provider){case"email":this.emailShare(e,o.attrs);break;case"facebook":this.facebookShare(e,o.attrs);break;case"twitter":this.twitterShare(e,o.attrs);break;case"pinterest":this.pinterestShare(e,o.attrs);break;case"ok":this.okShare(e,o.attrs);break;case"vk":this.vkShare(e,o.attrs);break;case"delicious":this.deliciousShare(e,o.attrs);break;case"digg":this.diggShare(e,o.attrs);break;case"google":this.googleShare(e,o.attrs);break;case"reddit":this.redditShare(e,o.attrs);break;case"hackernews":this.hackernewsShare(e,o.attrs);break;case"skype":this.skypeShare(e,o.attrs);break;case"evernote":this.evernoteShare(e,o.attrs);break;case"pocket":this.pocketShare(e,o.attrs);break;case"tumblr":this.tumblrShare(e,o.attrs);break;case"telegram":this.telegramShare(e,o.attrs);break;case"xing":this.xingShare(e,o.attrs);break;case"buffer":this.bufferShare(e,o.attrs);break;case"stumbleupon":this.stumbleuponShare(e,o.attrs);break;case"linkedin":this.linkedinShare(e,o.attrs);break;case"wordpress":this.wordpressShare(e,o.attrs);break;case"flipboard":this.flipboardShare(e,o.attrs);break;default:return}}}],z=["$window","socialshareConf","Socialshare","$log",function(e,o,i){var a=function(a,r,s){for(var h,c=0,n=(function(){return!(s.socialshareProvider in D)||void D[s.socialshareProvider](e,s,r)});c0)for(;c-1){for(;n=0&&$log.warn('sending sms text with "%" sign is not supported');var t=encodeURIComponent(o.socialshareText.replace("%",""))+" - "+encodeURIComponent(o.socialshareUrl),a=o.socialshareTo||"",r="sms:"+a+"?&body="+t;i.attr("href",r),i.attr("target","_blank")},x=function(e,o,i){var t="viber://forward?text="+encodeURIComponent(o.socialshareText+" ")+encodeURIComponent(o.socialshareUrl||e.location.href);i.attr("href",t),i.attr("target","_top")},S=function(e,o){var i="https://telegram.me/share/url?url="+encodeURIComponent(o.socialshareUrl||e.location.href);o.socialshareText&&(i+="&text="+encodeURIComponent(o.socialshareText)),e.open(i,"Telegram","toolbar=0,status=0,resizable=yes,width="+o.socialsharePopupWidth+",height="+o.socialsharePopupHeight+",top="+(e.innerHeight-o.socialsharePopupHeight)/2+",left="+(e.innerWidth-o.socialsharePopupWidth)/2)},T=function(e,o){var i="https://web.skype.com/share?source=button&url="+encodeURIComponent(o.socialshareUrl||e.location.href);o.socialshareText&&(i+="&text="+encodeURIComponent(o.socialshareText)),e.open(i,"Skype","toolbar=0,status=0,resizable=yes,width="+o.socialsharePopupWidth+",height="+o.socialsharePopupHeight+",top="+(e.innerHeight-o.socialsharePopupHeight)/2+",left="+(e.innerWidth-o.socialsharePopupWidth)/2)},y=["$window","$log",function(e,o){this.emailShare=s,this.facebookShare=r,this.twitterShare=c,this.stumbleuponShare=l,this.pinterestShare=u,this.googleShare=n,this.bufferShare=U,this.hackernewsShare=w,this.okShare=b,this.deliciousShare=k,this.pocketShare=H,this.vkShare=m,this.flipboardShare=P,this.xingShare=W,this.diggShare=g,this.linkedinShare=d,this.wordpressShare=v,this.telegramShare=S,this.redditShare=p,this.evernoteShare=R,this.tumblrShare=f,this.skypeShare=T,this.smsShare=I,this.share=function(i){switch(i.provider){case"email":this.emailShare(e,i.attrs);break;case"sms":this.smsShare(e,o,i.attrs);break;case"facebook":this.facebookShare(e,i.attrs);break;case"twitter":this.twitterShare(e,i.attrs);break;case"pinterest":this.pinterestShare(e,i.attrs);break;case"ok":this.okShare(e,i.attrs);break;case"vk":this.vkShare(e,i.attrs);break;case"delicious":this.deliciousShare(e,i.attrs);break;case"digg":this.diggShare(e,i.attrs);break;case"google":this.googleShare(e,i.attrs);break;case"reddit":this.redditShare(e,i.attrs);break;case"hackernews":this.hackernewsShare(e,i.attrs);break;case"skype":this.skypeShare(e,i.attrs);break;case"evernote":this.evernoteShare(e,i.attrs);break;case"pocket":this.pocketShare(e,i.attrs);break;case"tumblr":this.tumblrShare(e,i.attrs);break;case"telegram":this.telegramShare(e,i.attrs);break;case"xing":this.xingShare(e,i.attrs);break;case"buffer":this.bufferShare(e,i.attrs);break;case"stumbleupon":this.stumbleuponShare(e,i.attrs);break;case"linkedin":this.linkedinShare(e,i.attrs);break;case"wordpress":this.wordpressShare(e,i.attrs);break;case"flipboard":this.flipboardShare(e,i.attrs);break;default:return}}}],z=["$window","socialshareConf","Socialshare","$log",function(e,o,i){var a=function(a,r,s){for(var h,c=0,n=(function(){return!(s.socialshareProvider in D)||void D[s.socialshareProvider](e,s,r)});c=0) - { + if(attrs.socialshareText.indexOf('%') >= 0) { $log.warn('sending sms text with "%" sign is not supported'); } @@ -800,7 +799,7 @@ , 'Skype', 'toolbar=0,status=0,resizable=yes,width=' + attrs.socialsharePopupWidth + ',height=' + attrs.socialsharePopupHeight + ',top=' + ($window.innerHeight - attrs.socialsharePopupHeight) / 2 + ',left=' + ($window.innerWidth - attrs.socialsharePopupWidth) / 2); } - , socialshareService = /*@ngInject*/ ['$window', function socialshareService($window) { + , socialshareService = /*@ngInject*/ ['$window', '$log', function socialshareService($window, $log) { this.emailShare = manageEmailShare; this.facebookShare = manageFacebookShare; @@ -830,6 +829,7 @@ //**** whatsapp can't share without an element clicked (href) //this.whatsappShare = manageWhatsappShare; this.skypeShare = skypeShare; + this.smsShare = manageSmsShare; this.share = function shareTrigger(serviceShareConf) { @@ -838,6 +838,10 @@ this.emailShare($window, serviceShareConf.attrs); break; } + case 'sms': { + this.smsShare($window, $log, serviceShareConf.attrs); + break; + } case 'facebook': { this.facebookShare($window, serviceShareConf.attrs); break; diff --git a/package.json b/package.json index 0b8cb77..d39e572 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-socialshare", - "version": "2.3.0", + "version": "2.3.1", "description": "A social media url and content share module for angularjs.", "homepage": "http://720kb.github.io/angular-socialshare", "keywords": [