Home >WeChat Applet >Mini Program Development >Steps to authorize third-party management and development of mini programs (mini program tutorial)
When a third-party platform helps its authorized mini programs to manage code, it must first develop the mini program template and then deploy the mini program template to its mini program account. The specific process steps are as follows:
Step 1: Bind and develop mini programs
(1) Developers of third-party platforms must first go to the WeChat public platform (mp.weixin.qq.com) to apply for an ordinary mini program and complete the mini program Information, binding developers.
(2) Enter the WeChat open platform and add the applet as a development applet in the third-party platform details.
Note: After binding as a development applet, the applet is uploaded in the development tool, and the code will be uploaded directly to the open platform and will not be uploaded to the public platform.
Step 2: Development and uploading of mini program templates
Use the WeChat ID of the developer who developed the mini program to log in to the WeChat web developer tool (IDE). In the developer tool, follow the normal mini program Program development process for code development and debugging. After development is completed, click Upload in the development tools. For details, please refer to: Developer Tools
Step 3: Add to the mini program template library and obtain the template ID
The code uploaded from the developer tools will first be stored in the draft box. Each development applet only retains the latest upload record. Developers can add the code in the draft box to the mini program template library, and the templates in the mini program template library will not be overwritten. There can be up to fifty code templates, and you can get the template ID (TemplateID) after adding them.
Step 4: Call the interface to deploy code for its authorized mini-programs
For details of the interface, please see the interface in the "Code Management" document.
Important reminder:
After the mini program is authorized to be hosted, you can only use the server address of the third-party platform registered on the WeChat open platform. Therefore, before the third-party platform helps its public accounts publish codes, it must first set the server address to the server address of the mini program. For details on the setting interface, see the interface in the "Modify Server Address" document.
The above is the detailed content of Steps to authorize third-party management and development of mini programs (mini program tutorial). For more information, please follow other related articles on the PHP Chinese website!