h5 頁面喚起微信和qq


喚起微信還好 喚起qq會存在很多問題;

(一):以下是喚起微信的方法

  轉載自:http://blog.yixao.net/procedure/8143.html

微信
微信 weixin://
!發起群聊 weixin://dl/groupchat
通訊錄
!添加朋友 weixin://dl/add

上報日志 weixin://dl/log
故障修復 搜索 :recover
新的朋友 weixin://dl/recommendation

群聊 weixin://dl/groups
標簽 weixin://dl/tags
公眾號 weixin://dl/officialaccounts
發現
朋友圈 weixin://dl/moments
掃一掃 weixin://dl/scan
購物(京東) weixin://dl/shopping
游戲 weixin://dl/games
我
個人信息 weixin://dl/profile
名字 weixin://dl/setname
我的二維碼 weixin://dl/myQRcode
我的地址 weixin://dl/myaddress
相冊 weixin://dl/posts
收藏 weixin://dl/favorites
優惠券 weixin://dl/card
表情 weixin://dl/stickers
設置 weixin://dl/settings

QQ 號 weixin://dl/bindqq
手機號 weixin://dl/bindmobile
郵箱地址 weixin://dl/bindemail
帳號保護 weixin://dl/protection
新消息通知 weixin://dl/notifications

通訊錄黑名單 weixin://dl/blacklist

不讓他(她)看我的朋友圈 weixin://dl/hidemoments
不看他(她)的朋友圈 weixin://dl/blockmoments
通用 weixin://dl/general

多語言 weixin://dl/languages
字體大小 weixin://dl/textsize
我的表情 weixin://dl/stickersetting
朋友圈小視頻 weixin://dl/sight
功能 weixin://dl/features

通訊錄同步助手 weixin://dl/securityassistant
群發助手 weixin://dl/broadcastmessage
聊天記錄遷移 weixin://dl/chathistory
清理微信存儲空間 weixin://dl/clear
幫助與反饋
意見反饋 weixin://dl/help 或 weixin://dl/feedback
關於微信 weixin://dl/about
其他
隱藏入口 參數不明 第三方 Webview 接口 weixin://dl/businessWebview/link/
隱藏入口 參數不明 第三方游戲庫接口 weixin://dl/businessGame/library/
隱藏入口 參數不明 第三方游戲詳情接口 weixin://dl/businessGame/detail/
隱藏入口 參數不明 第三方支付接口 weixin://dl/businessPay/
隱藏入口 參數不明 第三方臨時會話接口 weixin://dl/business/tempsession/ 或 weixin://dl/businessTempSession/
未知
weixin://dl/chat
weixin://dl/designeremoji
weixin://dl/login/common_view
weixin://dl/login/phone_view
weixin://dl/personalemoticon
weixin://private/
weixin://private/setresult/
weixin://dl/updatenewestversion
weixin://dl/wechatout
weixin://dl/wechatoutcoupon
隱藏入口

第三方公眾號臨時會話接口
weixin://dl/business參數 ticket
weixin://dl/business/?ticket=
View Code

(二)喚起qq

  期間試了好多個鏈接但是都會有兼容性問題:(在微信和安卓自帶瀏覽器沒有反應,在部分手機的瀏覽器也沒效果例如:華為p20自帶瀏覽器就不行;)

     <a href="mqqwpa://im/chat?chat_type=wpa&uin=123456">click here Android</a>
     <a href="mqq://im/chat?chat_type=wpa&uin=123456&version=1&src_type=web">click here iOS</a>
     <a href="mqqwpa://im/chat?chat_type=wpa&uin=123456&version=1&src_type=web&web_src=oicqzone.com">喚起移動端 qq</a>
     <a href="mqqwpa://im/chat?chat_type=wpa&uin=351193498&version=1&src_type=web&web_src=www.chinesestack.com">喚起移動端chinesestack qq</a>
     <a href="mqqapi://card/show_pslcard?src_type=internal&version=1&uin=1129862506&card_type=group&source=qrcode">和Qun聊天</a>
     <a href="mqqapi://card/show_pslcard?src_type=internal&version=1&uin=1129862506&card_type=group&source=external">和Qun11聊天</a>
     <a href="https://jq.qq.com/?_wv=1027&k=1HLDQdNj">獲取crm群信息</a>
     <a href="https://jq.qq.com/?_wv=1027&k=ojAlK06i">獲取美事群信息</a>
View Code

解決:華為手機自帶瀏覽器還是不能打開;

以下方案是打開兼容性比較好的在手機qq 微信自帶瀏覽器都能打開;

     <a href="https://jq.qq.com/?_wv=1027&k=1HLDQdNj">獲取crm群信息</a>
     <a href="https://jq.qq.com/?_wv=1027&k=ojAlK06i">獲取美事群信息</a>

具體獲取鏈接方案如下:

**

手機網頁喚醒加群

**
網上教程說的全是去官網找加群組件,我試了下,怎么樣都不行,只能喚醒。其實很簡單,想的太復雜了
在這里插入圖片描述
在這里插入圖片描述
放到用戶點擊事件上,完事。

 

:最后補充以下 華為手機的坑

詳細看下這個地址查詢:https://club.huawei.com/search.php?mod=forum&searchid=125479901&searchsubmit=yes

希望有解決的同志 給個回復 3q


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM