object(mysqli_result)#13 (5) { ["current_field"]=> int(0) ["field_count"]=> int(25) ["lengths"]=> NULL ["num_rows"]=> int(2) ["type"]=> int(0) } HTML 如何從網頁鏈接到微信? - 程序員論壇 - Powered by Discuz!

程序員論壇

標題: HTML 如何從網頁鏈接到微信? [打印本頁]

作者: fire002    時間: 2020-7-8 11:57
標題: HTML 如何從網頁鏈接到微信?
HTML 如何從網頁鏈接到微信?
How do I link to wechat from a webpage?

微信確實具有可以從瀏覽器使用的URI方案。 方案前綴為
WeChat does have a URI scheme that can be used from a browser. The scheme prefix is
  1. weixin://
複製代碼
有一些URI可以與此一起使用:
There are a few URIs that can be used with this:
  1. weixin://dl/stickers
  2. weixin://dl/settings
  3. weixin://dl/posts
  4. weixin://dl/moments
複製代碼
但是,在專門回答您的問題時,您可以在其中一個專門與聯繫人聊天的地方:
However, in answer to your question specifically, there is one where you can chat to a contact specifically:
  1. weixin://dl/chat?{toID}
複製代碼
您將需要用目標用戶的微信ID替換{toID}。
You will need to replace {toID} with whatever the destination user's WeChat ID is.

e.g.
WeChat ID : abc123




作者: fire002    時間: 2020-7-8 11:58
  1. "weixin://dl/stickers"
  2. "weixin://dl/games"
  3. "weixin://dl/moments"
  4. "weixin://dl/add"
  5. "weixin://dl/shopping"
  6. "weixin://dl/groupchat"
  7. "weixin://dl/scan"
  8. "weixin://dl/profile"
  9. "weixin://dl/settings"
  10. "weixin://dl/general"
  11. "weixin://dl/help"
  12. "weixin://dl/notifications"
  13. "weixin://dl/terms"
  14. "weixin://dl/chat"
  15. "weixin://dl/features"
  16. "weixin://dl/clear"
  17. "weixin://dl/feedback"
  18. "weixin://dl/faq"
  19. "weixin://dl/recommendation"
  20. "weixin://dl/groups"
  21. "weixin://dl/tags"
  22. "weixin://dl/officialaccounts"
  23. "weixin://dl/posts"
  24. "weixin://dl/favorites"
  25. "weixin://dl/privacy"
  26. "weixin://dl/security"
  27. "weixin://dl/wallet"
  28. "weixin://dl/businessPay"
  29. "weixin://dl/businessPay/"
  30. "weixin://dl/wechatout"
  31. "weixin://dl/protection"
  32. "weixin://dl/card"  
  33. "weixin://dl/moments"
複製代碼





歡迎光臨 程序員論壇 (http://program.thesmartfire.com/) Powered by Discuz! X2.5