Wechat's sharing function on the web side

now I want to achieve such a function, that is, there is a sharing icon on the pc web page, and users can share the content with Wechat friends after scanning the QR code. How should this function be realized? Ask for divine assists

Php
Mar.09,2021

  1. requires a library to generate QR codes
  2. The content in the QR code generated by
  3. is a URL designed to prompt users to forward it to their friends (or moments)
  4. the above URL can use the existing PC page (add an opaque stack. After the wx container is detected, call WxJSSDK's sharing API to register the relevant title and desc copy, and display it. Remember to make an arrow pointing to the upper right corner, and add some copywriting. Many H5 encourage sharing and forwarding have similar materials, the design will be understood at a glance). You can also make a separate page for the mobile side (the advantage is that only a few things will be added to the existing page, mainly those generated by the QR code, and then the link will be written dead or dynamically generated depending on your actual business needs)

here Wechat shares his own look

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a760-2c1fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a760-2c1fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?