Mini Program automatic authorization and manual integration
Published: 2018-05-03
The Mini Program supports two access methods, the first is automatic authorization (suitable for non-technical users, simple to operate, under normal circumstances, we strongly recommend this method, as it can generate a WeChat Mini Program with one click), and the second is manual access (suitable for users with some technical knowledge; the operation is relatively troublesome. The manual access method provides a Mini Program code package for download, and secondary development can be carried out based on the code package, making it more flexible.)
Warm tip:Sometimes when submitting for review via automatic authorization, if many people are submitting, you need to wait in a queue. At this time, switch to manual access, upload the code package and submit for review, and then you no longer need to queue.
Both authorization methods of the Mini Program can be switched freely. If you are already an automatic authorization user, you can convert to manual access in the way shown in the figure below:
If the Mini Program is already in manual access, you can switch to automatic authorization via the [Switch to Automatic Authorization] button shown in the figure below:
The following provides a detailed explanation of how the Mini Program implements code package download and submission for review:
1. Set Manual Access
If the previously applied Mini Program has not been authorized, directly click [Manual Access] as shown in the figure below.
After clicking, the dialog box shown in the figure below pops up. Fill in the corresponding parameters as required:
If [Automatic Authorization] was used previously, you can convert to manual access in the way shown in the figure below:
Note that if you are converting from [Automatic Authorization] to [Manual Access], please be sure togo to [WeChat Official Mini Program]?backend, Settings > Third-party Services > Stop authorization for this platform, as shown in the figure below:
2. Code Package Download
After manual access is successfully connected, there will be a [Download Code Package] button, as shown in the figure below:
Click Download Code Package; the interface shown in the figure below appears. Perform settings in the WeChat Official Mini Program backend as required:
3. Development Tool Installation and Code Upload
After the code package is downloaded, it needs to be imported into the WeChat Mini Program development tool. Download URL:
https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
In WeChat Public Platform | Mini Program → Mini Program Development → Download → Tools → Latest Download Address, you can download the development tool version most suitable for you according to your computer system properties, as shown in the figure below:
?You can check how many bits your computer's operating system is, as shown in the figure below:
?Install WeChat WEB Developer Tools, after downloading, double-click the installation package. After opening it, directly click Next → I Accept → choose your installation path, then click Install. After installation is complete, check Run and click Finish?
After clicking Finish, the interface shown in the figure below is displayed. Use the WeChat account of your Mini Program administrator to scan the QR code and log in.
After scanning the QR code and logging in, as shown in the figure below, click Mini Program Project:
After clicking Mini Program Project, you enter the Mini Program project management interface, as shown in the figure below:
In the Mini Program project management interface:
①Project Directory
On this interface, click Project Directory. The corresponding input box → displays the browse folder interface. In this interface, find the folder after extracting the downloaded code package. After finding the extracted folder, directly select the extracted folder and click OK. As shown in the figure below, the corresponding input box displays the path.
②AppID
In 好建 Mini Program User Management Center, you can view your AppID, which starts with wx, as shown in the figure below:
③Project Name
It is recommended to keep it consistent with your Mini Program name
After clicking OK, it is as shown in the figure below:
Directly click Upload, as shown in the figure below:
After clicking Confirm, [Version Input] and [Project Remarks Interface] are displayed, as shown in the figure below:
Note: It is recommended to use the same version number as the official one, then enter your project remarks. After entering, click Upload
The official version number is shown in the figure below. You can view it in 好建 Mini Program User Management Center -- Download Code Package:
Code uploaded successfully, as shown in the figure below:
4. View Uploaded Code and Submit Code
Check whether it is currently in third-party authorization status. Log in to the WeChat Official Mini Program, and in the [Home] -- [Mini Program Release Process] column, click the [Go to Publish] button
1. The following steps check whether your Mini Program is currently in third-party authorization status. If it has not been stopped, stop it first (if there is no third-party authorization, please ignore this step).
After clicking, you will be redirected to the development management interface? Please click to view the bound third-party platforms.
?Then it displays that there is currently no third-party authorization. At this point, the third-party authorization has been successfully removed:
2. View the submitted code and use the trial version QR code?
After clicking Go to Publish, you will be redirected to the development management interface, which displays the code version information you uploaded in WeChat WEB Developer Tools, as shown in the figure below:
View the trial version QR code, as shown in the figure below. Click [Trial Version] to perform preview operations:
After confirming the preview is correct, click Submit for Review, as shown in the figure below:
At this point, manual code submission is complete. You can wait for the WeChat official review. Everyone is welcome to try it. If you have any questions during use, please contact our customer service.
