我如何链接到网页上的微信? [英] How do I link to wechat from a webpage?
问题描述
如何使用 WeChat
微信确实有一个可以在浏览器中使用的URI方案。计划前缀是 weixin://
。
可以使用以下几个URI:
weixin:// dl / stickers
weixin:// dl / settings
weixin:// dl / posts
weixin:// dl / moments
然而,在回答你的问题时, ,有一个地方你可以专门与某个联系人聊天:
weixin:// dl / chat?{toID}
您需要将 {toID}
替换为目标用户的WeChat ID。
为了便于参考,这些是我从以前的信息中找到的网址:
- https ://www.quora.com/Does-WeChat-support-posting-text-to-chat-via-a-url-scheme-for-mobile
- < a href =https://www.zhihu.com/question/30616809?sort=created =noreferrer> htt ps://www.zhihu.com/question/30616809?sort = created (需要翻译,除非你能说流利的中文)
Whatsapp
allows you to link to a new message via
<a href="whatsapp://send?text=The text to share!" data-action="share/whatsapp/share" class="Share-link m-whatsapp">
How do I do the same thing with WeChat
?
WeChat does have a URI scheme that can be used from a browser. The scheme prefix is weixin://
.
There are a few URIs that can be used with this:
weixin://dl/stickers
weixin://dl/settings
weixin://dl/posts
weixin://dl/moments
However, in answer to your question specifically, there is one where you can chat to a contact specifically:
weixin://dl/chat?{toID}
You will need to replace {toID}
with whatever the destination user's WeChat ID is.
For reference's sake, these are the URLs that I've found this information from previously:
- https://www.quora.com/Does-WeChat-support-posting-text-to-chat-via-a-url-scheme-for-mobile
- https://www.zhihu.com/question/30616809?sort=created (will require translation, unless you are fluent in Chinese)
这篇关于我如何链接到网页上的微信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!