WeChat official account three-party platform development [account registration, platform creation]

In the last issue, we briefly introduced what a third-party platform for official accounts is. Today, we will talk about how to create your own third-party WeChat platform.
[Registration]
First of all, of course, go to the WeChat open platform to register a developer account. After entering the portal
, you will see the following page:
Paste_Image.png
Click the [Register] button in the upper right corner to enter the registration page, and follow the registration instructions to complete the registration:
Paste_Image.png
[Create a public account third-party platform]
After logging in, go to the management center -> third-party platform -> create a third-party platform (before creating a third-party platform, the developer account needs to be certified as a developer (only enterprise type qualification is supported)) , the fee is 300 yuan / year, and one account can only create 5 third-party platforms).
Paste_Image.png
[Fill in the platform information]
Fill in the basic information of the platform, select permissions and development materials according to the requirements and prompts (select the permission set as needed).
Paste_Image.png
The development materials include three parts: related to the authorization process, the realization of business on behalf of the official account after authorization, and others. The detailed description of each item is still relatively clear.
Authorized launch page domain name: fill in the online domain name of the platform, if the platform is placed under wx.example.com, then fill in wx.example.com;
Authorized test official account list: fill in the original ID of the official account used for testing during the platform development process , which can be viewed on the official account setting page;
authorization event receiving URL: WeChat server will push some information to this address, such as cancellation authorization notification, authorization success notification, authorization update notification and component_verify_ticket, which is an important credential of the WeChat verification platform (such as :wx.example.com/Wechat/Wechat/ticket); official account
message verification Token: when the platform receives messages on behalf of the official account, it is used to verify the message;
Official Account Message Encryption and Decryption Key: A string with a length of 43 digits, which can only be numbers and letters, and will be used in the process of sending and receiving messages on behalf of the Official Account (change the string to be generated by yourself as required);
Official Account message and event receiving URL: The information corresponding to users following the official account or sending information will be pushed to this address (eg: wx.example.com/Wechat/Wechat/reponseMsg/appid/ A PPID /);
whitelist IP address list: generally the public network IP where the platform server is placed;
other domain name information can be filled in with their corresponding domain names.
After filling in the information, click the [Submit] button to complete the creation of the third-party platform, and wait for the approval to pass the formal development test (the review is sometimes very fast, and sometimes it needs to be queued).
If you need to modify and update the third-party platform information in the later stage, click Details -> Modify Platform, and submit it again after the modification (the list of authorized test public accounts and the list of whitelist IP addresses can be quickly modified directly on the platform details page).
PS: The whole network release is an operation after the development and testing of the third-party platform is completed. For the third-party platform that has been released on the whole network, if the business of the third-party platform changes, the third-party platform needs to be modified. After the modification is completed , it is necessary to submit "Release covering the entire network of the existing network", and the revised content will be released to the public at this time. Of course, during the revision process, the official account being used on the existing network will not be affected at all.
Okay, let's talk about this today, we will officially open the development mode in the next issue~ By the way, I developed it based on the Thinkphp framework~

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325866927&siteId=291194637