Home  >  Article  >  WeChat Applet  >  A brief discussion on the summary of WeChat protocol

A brief discussion on the summary of WeChat protocol

零下一度
零下一度Original
2017-06-12 16:05:431725browse

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

A brief discussion on the summary 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

A brief discussion on the summary of WeChat protocol

##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

A brief discussion on the summary of WeChat protocol## 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn