Hey thank you so much for the code! It works great.
Just one quick question: I tried it out on the mobile version of my website but instead of opening the actual chat it opens the list of my whatsapp contacts. Do you have any idea on how I could solve the problem?
Thank you!!