WhatsApp Web版本的共享链接? [英] Sharing link for WhatsApp Web version?
本文介绍了WhatsApp Web版本的共享链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的网站上放置了一个按钮,上面有一个链接,人们可以在Whatsapp上分享文章。代码是这样,并且可以正常工作:
I placed a button on my website with a link for people to share articles on Whatsapp. The code is this and works fine:
< a href = whatsapp:// send?text = Hello%20World!>您好,世界!< / a>
但这不适用于桌面版本。是否有人知道在Whatsapp网站上共享文本/链接的URL?这是这里: https://web.whatsapp.com
But this doesn't work on the desktop version. Does anybody know the url to share text/link on the Whatsapp Web? This here: https://web.whatsapp.com
推荐答案
注意:要创建带有预填充消息的链接,请使用此链接(仅适用于Whatsapp Web版本!)
示例:
<a href="https://web.whatsapp.com/send?text=textToshare" target="_blank">Share via Whatsapp</a>
更新
注意:您可以使用此链接,其中包含预填充的消息,该消息将自动显示在聊天文本字段中(适用于所有平台!)
示例:
<a href="https://api.whatsapp.com/send?text=textToshare" target="_blank">Share via Whatsapp API</a>
https://api.whatsapp.com/send?text=textToshare
这篇关于WhatsApp Web版本的共享链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文