Can mobile wap web pages directly evoke (Wechat) client sharing?

looked at the Wechat sharing function on some mobile phone wap pages, most of which appeared QR code after clicking on the Wechat icon (please I have only one mobile phone how to scan the QR code to share to Wechat! ) or copy the page URL to the Wechat client to share, and like the Sina mobile phone opened by QQ Browser, there is no reaction at all after clicking on the "Wechat" icon.

at present, it is only found that the icons of "share to Wechat Friends" and "share to moments" on the mobile phone Sohu website page can directly evoke the Wechat client sharing interface, which is valid in UC browsers and QQ Browser, but not in Xiaomi"s own browser (there is no reaction after clicking).

clipboard.png

how does the Sohu page evoke the Wechat client sharing interface? It is the web page that established a private agreement with Wechat (is the relationship between Sohu and Tencent so good? ), or does the web page invoke the browser"s own sharing function and take advantage of the browser"s ability to share with Wechat"s client? (P.S. If the web page invokes the browser"s own sharing function, then why is the Wechat sharing of the Sohu page invalid in Xiaomi"s own browser? )

do APP clients (including Wechat, Weibo, etc.) not support mobile wap pages to directly call the sharing API?

my product dog is a dog who really doesn"t know much about technology. I"ve come to ask the gods for advice. )

Mar.02,2021

WAP does not have the permission to arouse that APP,UC and QQ are the interfaces provided by browsers for sharing, which can be shared by calling js, but it seems that the shared images cannot be customized. Other browsers do not have an interface.
other sharing (Weibo, QQ, etc.) can be done with Baidu sharing plug-ins.


http://t.cn/RnoLSet already has a platform, which can be generated online and taken away.


I think it's OK. Use some sharing plug-ins, click and call the client directly. You can check to see if the cordova plugin supports it. This is how the hybrid app I did earlier is called.


as answered upstairs, UC and QQ are the interfaces that browsers provide for sharing. Reference: https://github.com/AngusFu/mobileShare/blob/master/mshare.js


Mobile browser awakens Wechat and opens the specified page. After two days of research, it has been perfectly achieved by obtaining the tick value.

Menu