[WhatsApp] 透過網頁開啟WhatsApp

當建立公司網頁時, 通常會留電話號碼, 電郵等作聯絡方法, 而WhatsApp 亦有類似方法可以實現. WhatsApp 已經有一系列的Web API 可以叫用, 只需要知道如何加入parameter 便可, 可惜沒有一份標準的官方文件參考. 在這裡叫用whatsApp 聯絡某聯絡人的連結如下:

<a href="https://api.whatsapp.com/send?phone=85298765432">WhatsApp me</a>

參考資料

About C.H. Ling 262 Articles
a .net / Java developer from Hong Kong and currently located in United Kingdom. Thanks for Google because it solve many technical problems so I build this blog as return. Besides coding and trying advance technology, hiking and traveling is other favorite to me, so I will write down something what I see and what I feel during it. Happy reading!!!

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.