Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have tried to implement support for the Whatsapp sharing interface in mobiles but I have encountered some issue. The url for Whatsapp sharing looks like this: whatsapp://send?{{arguments here}}. The problem is that Drupal / the module does not render the whatsapp:// prefix properly, it adds the url of the site which makes the link useless.
Would you please have a look at this issue and see if something can be done. Great work, thank.
Comments
Comment #2
W.M. CreditAttribution: W.M. commentedI recall that it was working with Whatsapp.. Now, perhaps I needed to patch some code I simply cannot recall.. Any updates on this? Thank you.
Comment #3
W.M. CreditAttribution: W.M. commentedA simple hack is to add
http://
prefix to the URL pattern inside settings page and then using JS on page load, remove the first 7 characters, i.e.http://
. Works.Of course there should be a proper Drupal way to do it :-)
Comment #4
danon1981 CreditAttribution: danon1981 as a volunteer commentedFor now that does work, would be nice if the module would support whatsapp natively.