Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat small program to get small program code


May 18, 2021 WeChat Mini Program Development Document


Table of contents


Get the small program code

Through the background interface can get the small program code of any page of the small program, scan the small program code can go directly to the page corresponding to the small program, all generated small program code is permanently valid, can be used with confidence. W e recommend building and using a small program code that has better identification and advanced capabilities such as showing "public attention components." The resulting small program code looks like this:

WeChat small program to get small program code

You can use the development tool 1.02.1803130 and later versions of the two-dimensional code compilation function debugging obtained by the QR code

WeChat small program to get small program code

To meet different needs and scenarios, two interfaces are available, and developers can choose the one that suits them.

Get small program QR code (not recommended)

Through the background interface, you can get the small program QR code of any page of the small program, the generated small program QR code is as follows:

WeChat small program to get small program code

  • Interface C: For business scenarios where fewer codes are required
    • The generation of QR codes, acceptable path parameters are long, the number of generations is limited, the number of limits can be seen in the notes.

    Get small program code (one thing, one yard)

    WeChat one thing one yard supports the generation of small program code. WeChat through the "one thing, one yard" interface issued by the QR code than ordinary link QR code is more secure, support smaller printing area, support to jump to the specified small program page, and no limit.

    Precautions

    1. Interfaces can only generate QR codes for published small programs
    2. Interface A plus interface C limits the total number of codes generated to 100,000, please call with caution.
    3. Interface B calls are limited in minute frequency (5000 times per minute) and pre-build is recommended if a large number of small codes are required.