Home >WeChat Applet >WeChat Development >A brief discussion on the summary of WeChat protocol
WeChat web protocol analysis (WeChat web version wx2.qq.com) 1. Open the homepage, assign a random uuid, 2. Obtain the QR code image based on the uuid. 3. Scan the picture on the WeChat client and confirm the login on the client. 4. The browser keeps calling an interface. If the login is returned successfully, the login interface is called. 5. At this time, the contact list can be obtained and messages can be sent. Then continuously call the synchronization interface. 6. If the synchronization interface returns, you can obtain new messages and then continue to call the synchronization interface. Source code address: github.com/biezhi/wechat-robot execution process +---------------+ +---------------+ +-- -------------+ &nbs
1. Detailed explanation of WeChat protocol
##Introduction: 1. Open the homepage and assign a random uuid. 2. Get the QR code image based on the uuid. 3. Scan the picture on the WeChat client and confirm the login on the client. 4. The browser keeps calling an interface. If the login is successful, the login interface is called. 5. At this time, the contact list can be obtained and messages can be sent. Then continuously call the synchronization interface. 6. If the synchronization interface returns, you can obtain new messages and then continue to call the synchronization interface.
2. WeChat Development Agreement Summary Description
##Introduction: Through this tutorial, I will share with you the relevant knowledge about the summary description of the WeChat development protocol. It is very good and has certain reference value. Friends who are interested should take a look together
3 .
WeChat public platform development multi-customer service
## Introduction: In the new WeChat protocol, development The mode can also be connected to the customer service system. If the developer needs to allow users to use the customer service system, they need to return a message with MsgType of transfer_customer_service when receiving the message sent by the user. When the WeChat server receives this message, it will transfer the message sent by the user this time and within a certain period of time in the future. The sent message is forwarded to the customer service system. Examples of returned messages are as follows
The above is the detailed content of A brief discussion on the summary of WeChat protocol. For more information, please follow other related articles on the PHP Chinese website!