


Teach you how to develop WeChat mini programs as a third-party platform with detailed explanation
1. Overall process
When a third-party platform helps its authorized mini-programs with code management, it must first develop the mini-program template and then deploy the mini-program template to its mini-program account. , the specific process is as follows:
1: Bind and develop mini programs
(1) Developers of third-party platforms must first apply to the WeChat public platform (mp.weixin.qq.com) An ordinary small program, complete the information of the small program, and bind the developer.
(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.
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), and follow the normal mini program development in the developer tool Process for code development and debugging. After development is completed, click Upload in the development tools.
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, and only the latest copy of each developed mini program will be retained. Upload records. 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.
4: Call the interface to deploy code for its authorized mini-programs
See code management for detailed documentation.
2. How to develop
1. Create a project
is the same as developing an ordinary small program. The third-party platform developer fills in the relevant 3rdMiniProgramAppid and sets the project name and selection. Project directory to create the project.
For third-party platform applets, you can view the relevant open3rd information and the current third-party 3rdMiniProgramAppid on the project page. If the project is configured with the relevant extAppid, then there will also be relevant information on the project page. .
2. Mini program template development
is consistent with the development of ordinary mini programs. After the developer has developed the relevant business logic on the development tool, he can submit a preview in the project page card or WeChat Check the actual performance of the mini program in
The difference is that the submission and upload of the third-party platform mini program is uploaded to the template draft box under the open account of the third-party platform, and the administrator of the platform You need to set up the template accordingly. For more information, please refer to the documentation of the open platform.
3. Development and debugging of extAppid
In order to facilitate third-party platform developers to introduce the development and debugging of extAppid, the concept of ext.json needs to be introduced.
ext.json is a configuration file placed in the root directory of the mini program project.
The configuration fields in ext.json are divided into two types
Unique fields
Same fields as app.json
3. WeChat is the first What authorizations are provided by the third-party platform
1, authorization (login self-service authorization, the process is the same as the original public account development)
2, domain name configuration modification
3, test account modification
4, Submit for review and release version
The above is the detailed content of Teach you how to develop WeChat mini programs as a third-party platform with detailed explanation. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP is an open source scripting language that is widely used in web development and server-side programming, especially in WeChat development. Today, more and more companies and developers are starting to use PHP for WeChat development because it has become a truly easy-to-learn and easy-to-use development language. In WeChat development, message encryption and decryption are a very important issue because they involve data security. For messages without encryption and decryption methods, hackers can easily obtain the data, posing a threat to users.

In the development of WeChat public accounts, user tag management is a very important function, which allows developers to better understand and manage their users. This article will introduce how to use PHP to implement the WeChat user tag management function. 1. Obtain the openid of the WeChat user. Before using the WeChat user tag management function, we first need to obtain the user's openid. In the development of WeChat public accounts, it is a common practice to obtain openid through user authorization. After the user authorization is completed, we can obtain the user through the following code

With the popularity of WeChat, more and more companies are beginning to use it as a marketing tool. The WeChat group messaging function is one of the important means for enterprises to conduct WeChat marketing. However, if you only rely on manual sending, it is an extremely time-consuming and laborious task for marketers. Therefore, it is particularly important to develop a WeChat mass messaging tool. This article will introduce how to use PHP to develop WeChat mass messaging tools. 1. Preparation work To develop WeChat mass messaging tools, we need to master the following technical points: Basic knowledge of PHP WeChat public platform development Development tools: Sub

WeChat is currently one of the social platforms with the largest user base in the world. With the popularity of mobile Internet, more and more companies are beginning to realize the importance of WeChat marketing. When conducting WeChat marketing, customer service is a crucial part. In order to better manage the customer service chat window, we can use PHP language for WeChat development. 1. Introduction to PHP WeChat development PHP is an open source server-side scripting language that is widely used in the field of Web development. Combined with the development interface provided by WeChat public platform, we can use PHP language to conduct WeChat

As WeChat becomes an increasingly important communication tool in people's lives, its agile messaging function is quickly favored by a large number of enterprises and individuals. For enterprises, developing WeChat into a marketing platform has become a trend, and the importance of WeChat development has gradually become more prominent. Among them, the group sending function is even more widely used. So, as a PHP programmer, how to implement group message sending records? The following will give you a brief introduction. 1. Understand the development knowledge related to WeChat public accounts. Before understanding how to implement group message sending records, I

With the popularity of mobile Internet, more and more people are using WeChat as a social software, and the WeChat open platform has also brought many opportunities to developers. In recent years, with the development of artificial intelligence technology, speech recognition technology has gradually become one of the popular technologies in mobile terminal development. In WeChat development, how to implement speech recognition has become a concern for many developers. This article will introduce how to use PHP to develop WeChat applications to implement speech recognition functions. 1. Principles of Speech Recognition Before introducing how to implement speech recognition, let us first understand the language

ThinkPHP6 WeChat Development Guide: Quickly Build WeChat Public Account Application Introduction: As an important social media platform, WeChat public account provides great opportunities for individuals and enterprises in marketing, information dissemination and other aspects. In this article, we will introduce how to use ThinkPHP6 to quickly build a WeChat public account application, and provide some commonly used code examples. Environment preparation Before starting development, we first need to prepare the following environment: PHP7 or above version ThinkPHP6 framework WeChat public account

With the development of the Internet and mobile smart devices, WeChat has become an indispensable part of the social and marketing fields. In this increasingly digital era, how to use PHP for WeChat development has become the focus of many developers. This article mainly introduces the relevant knowledge points on how to use PHP for WeChat development, as well as some of the tips and precautions. 1. Development environment preparation Before developing WeChat, you first need to prepare the corresponding development environment. Specifically, you need to install the PHP operating environment and the WeChat public platform
