Start WhatsApp from URL HREF with custom text/content

前端 未结 7 1790
醉酒成梦
醉酒成梦 2020-12-24 13:47

As you know using the whatsapp url scheme on iphone i can create the following link:

href=\"whatsapp://send?text=blahblah\"

this is possibl

相关标签:
7条回答
  • 2020-12-24 14:36

    Was working on the same Problem and found the solution:

    href="intent://send/[countrycode_without_plus][number]#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end
    

    With a telephonenumber(+49 123 456 78)

    href="intent://send/4912345678#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end
    
    0 讨论(0)
提交回复
热议问题