Generate QR code with parameters


Introduction to generating QR codes with parameters

In order to meet the needs of channel promotion analysis, the fan service platform provides an interface for generating QR codes with parameters. Using this interface, multiple QR codes with different scene values ​​can be obtained. After the user scans them, the corresponding account can receive event push. There are currently two types of QR codes, namely temporary QR codes and permanent QR codes. The former has an expiration time, up to 1800 seconds, but can generate a larger number, while the latter has no expiration time and a smaller number (currently Parameters only support 1--100000).

When a user scans a QR code with a scene value, the following two events may be pushed: If the user has not followed the official account of the QR code generator, it will be entered into the follow list after scanning; if the user clicks to follow, Weibo will push the scan_follow event to the third party; If the user has followed the official account of the QR code generator, after scanning, he will enter the private message dialogue interface with the official account, and Weibo will push the san event to the third party;

is generated with parameters Details of the QR code interface

  • ##Create a QR code ticket

    The process of obtaining a QR code with parameters includes two steps. First, create a QR code ticket, and then use the ticket to the specified URL to exchange for the QR code.
  • Exchange the QR code with a ticket

    After obtaining the QR code ticket, the developer can exchange the ticket with the QR code Code pictures. This interface can be called without logging in.

##Contact information

If you have any questions or suggestions during use, Welcome @微博Open Platform.