V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
icemanpro
V2EX  ›  问与答

如何将一个二维码内的 url,自动用微信打开?

  •  
  •   icemanpro · Feb 24, 2021 · 1704 views
    This topic created in 1888 days ago, the information mentioned may be changed or developed.
    在不用小程序的情况下,用系统自带程序,扫码时,能不能在微信中打开这个 url ?
    4 replies    2021-02-24 11:43:01 +08:00
    rund11
        1
    rund11  
       Feb 24, 2021 via Android
    加上 http:那些就可以了
    justfun
        2
    justfun  
       Feb 24, 2021 via iPhone
    做不到,官方没提供接口。可以用微信的协议拉起微信,但是微信会限制跳转的域名
    weixin://dl/businessWebview/link/?appid=appid&url=baidu.com
    imgbed
        3
    imgbed  
       Feb 24, 2021
    外部跳转微信可以用类似 wexin://baidu.com 的协议,但是后面的参数微信自家加密的,不是想打开什么都可以
    wakzz
        4
    wakzz  
       Feb 24, 2021
    不行,微信目前虽然支持这个功能,但是没有开放对接方案。除非是大公司直接跟腾讯对接沟通才有可能拿到对接方案
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3195 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 100ms · UTC 13:47 · PVG 21:47 · LAX 06:47 · JFK 09:47
    ♥ Do have faith in what you're doing.