Home >WeChat Applet >WeChat Development >Recommended 10 commonly used ways to send messages, welcome to download!
This article uses a small example to simply demonstrate how to use the Huanxin SDK to send and receive messages in the WeChat applet. After downloading the demo from the official website, copy the files in the entire utils directory to the directory of our own project. In WebIMConfig.js, replace the AppKey with the key of your own application. The interface is simply composed of an input box and a button. Click the button to send a message. Import WebIM.jsvar WebIM = require('../../utils/WebIM.js') var WebIM = WebIM.default login hxlogign: function () { var options = {
1. A brief discussion on the core architecture design of the chat interface
# #Introduction: This article uses a small example to simply demonstrate the use of Huanxin SDK to send and receive messages in the WeChat applet. After downloading the demo from the official website, copy the files in the entire utils directory to the directory of our own project. In WebIMConfig.js, replace the AppKey with the key of your own application. The interface is simply composed of an input box and a button. Click the button to send a message. Import WebIM.jsvar WebIM = require('../../utils/WebIM.j...
2. How to use NetRemoting ? Summary of NetRemoting instance usage
#Introduction: This article mainly introduces C# NetRemoting to achieve two-way communication. Net Remoting is a way for the client to access the channel to obtain the server object through Remoting, and then resolve it into the client object through the proxy to achieve two-way communication, and achieve the function of sending messages to each other similar to QQ. I almost started learning .Net Remoting. Net Remoting is achieved by the client accessing the channel to obtain the server object through Remoting, and then parsing it into the client object through the proxy...
3.
Detailed introduction to two-way communication
##Introduction: This article mainly introduces C# NetRemoting realizes two-way communication. .Net Remoting allows the client to access the channel to obtain the server object through Remoting, and then resolves it into the client object through the proxy to realize the communication. If you have nothing to do, you want to play with the two-way communication, and realize QQ-like The function of sending messages to each other. So I started to learn .Net Remoting. Net Remoting is that the client accesses the channel to obtain the server object through Remoting, and then resolves it into the client object through the proxy...
4.
WeChat develops interfaces and parameters for receiving geographical location and linksIntroduction: Receiving ordinary messages When ordinary WeChat users send messages to public accounts, the WeChat server will POST the XML data packet of the message to the URL filled in by the developer
##5. . WeChat development interface and parameters for receiving video messages
##Introduction: Receive ordinary messages as ordinary When a WeChat user sends a message to a public account, the WeChat server will POST the XML data packet of the message to the URL filled in by the developer.
6. WeChat develops an interface for receiving voice messages. With parameters
##Introduction: Receiving ordinary messages When ordinary WeChat users send messages to public accounts, the WeChat server Pack the XML data of the POST message to the URL filled in by the developer ##7.
WeChat development interface and parameters for receiving picture messages
Introduction: When an ordinary WeChat user sends a message to a public account, the WeChat server will POST the XML data packet of the message to the URL filled in by the developer. .
8. WeChat development interface and parameters for receiving text messages
##Introduction: When an ordinary WeChat user sends a message to a public account, the WeChat server will POST the XML data packet of the message to the URL filled in by the developer. Please note:
9. Simple question discussion on WeChat development
## Introduction: WeChat public platform developer document description: [color=#33CCCC] When an ordinary WeChat user sends a message to a public account, the WeChat server will POST the XML data packet of the message to the URL filled in by the developer. The push XML data packet structure of each message type is as follows. If the WeChat server does not receive a response within five seconds, the connection will be disconnected and the request will be reinitiated, with a total of three retries. Regarding retry message deduplication, it is recommended to use msgid deduplication.
10.
Take you to have an in-depth understanding of the WeChat applet integrated Huanxin SDK
Introduction: This article uses a small example to simply demonstrate the use of Huanxin SDK to send and receive messages in the WeChat applet. After downloading the demo from the official website, copy the files in the entire utils directory to the directory of our own project. Replace the AppKey with the key of your own application in WebIMConfig.js. The interface is simply composed of an input box and a button. Click the button to send a message. Import WebIM.js and log in to send text messages and receive messages. To receive messages, you must first add a callback function in app.js app.js to obtain the chat interface in a...
[Related Q&A recommendations] :
mysql - How to insert data into 2 tables in php at the same timec++ - The windows system will behave like a process during sleep/hibernation News? A problem with mongodb document array queryjava - netty4, the server actively sends messages to the client, how to store the channel in the redis cache middle? php+mysql is used as the backend, how to realize user login and push messages
The above is the detailed content of Recommended 10 commonly used ways to send messages, welcome to download!. For more information, please follow other related articles on the PHP Chinese website!