stefanbohacek / SimpleSharingButtons

Share to Facebook, Twitter, and other social networks using simple HTML buttons.
http://simplesharingbuttons.com/
MIT License
163 stars 31 forks source link

WhatsApp sharing button #7

Open stefanbohacek opened 8 years ago

stefanbohacek commented 8 years ago

This is mainly a note for the simplesharingbuttons.com version. A few people already suggested to add a WhatsApp sharing button.

http://stackoverflow.com/questions/21935149/sharing-link-on-whatsapp-from-mobile-website-not-application-for-android

This seems like a great idea, I've seen this done on a few sites. I just need to think about the best way to implement it on the website (there should be a server-side detection of the type of device, rather than just hiding the button with CSS on large screens).

Dade88 commented 8 years ago

I think PC version of WhatsApp is also using whatsapp:// (at least on Windows), maybe simply CSS hide is not a bad idea.