diff --git a/lib/angular-socialshare.js b/lib/angular-socialshare.js index 62af55c..5e36ea5 100644 --- a/lib/angular-socialshare.js +++ b/lib/angular-socialshare.js @@ -788,7 +788,7 @@ } , manageWhatsappShare = function manageWhatsappShare($window, attrs, element) { - var href = 'whatsapp://send?text=' + encodeURIComponent(attrs.socialshareText) + '%0A' + encodeURIComponent(attrs.socialshareUrl || $window.location.href); + var href = 'https://api.whatsapp.com/send?text=' + encodeURIComponent(attrs.socialshareText) + '%0A' + encodeURIComponent(attrs.socialshareUrl || $window.location.href); element.attr('href', href); element.attr('target', '_top');