-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add whatsapp Support to js #63
base: master
Are you sure you want to change the base?
Conversation
@@ -216,6 +216,9 @@ var SocialShareKit = (function () { | |||
} | |||
}; | |||
switch (network) { | |||
case 'whatsapp': | |||
url = 'https://api.whatsapp.com/send?text=' + encodeURIComponent(title + '\n' + shareUrl + '\n\n' + text + '\n'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should use this rather
https://wa.me/?text=
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why ?
https://api.whatsapp.com/send?text=
works as it should be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remember correctly this wasn't working on Android or IOS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i did a test on
https://wa.me/?text=
its redirect to
https://api.whatsapp.com/send?text=
on ios & android
Update to v1.0.15
+1 to merge this |
1 similar comment
+1 to merge this |
No description provided.