Recommended 10 commonly used WeChat server usages, welcome to download!

巴扎黑
Release: 2017-06-12 13:51:23
Original
2099 people have browsed it

Verify the authenticity of the message. Add a filter to the project where the MVC Controller is located, and rewrite the public override void OnActionExecuting(ActionExecutingContext filterContext) method in the filter to create a new data model. Note: When the server receives the message, it is no longer signature but msg_signature. Example of HTTP request message sent by WeChat server to the server POST /cgi-bin/wxpush? msg_signature=477715d11cdb4164915debcba66cb864d751f3e6×tamp=1409659813&nonce=1372623149 HTTP/1.1Host: qy.weixin.qq.com Method rewriting to implement verification of messages and call WeChat Verification method during access, but the parameters need to be changed slightly. Use the newly created data model in the Action method or Co

1. Detailed introduction to .net development

Recommended 10 commonly used WeChat server usages, welcome to download!

Introduction: Verify the authenticity of the message. Add a filter to the project where the MVC Controller is located, and rewrite public in the filter. override void OnActionExecuting(ActionExecutingContext filterContext) method to create a new data model Note: When the server receives the message, it is no longer signature but msg_signature. HTTP request message example of WeChat server pushing message to server POST /cgi-bin...

2. 10 recommended articles about events of concern

Recommended 10 commonly used WeChat server usages, welcome to download!

## Introduction: As mentioned in the previous blog post, WeChat messages can be roughly divided into two types. One is ordinary messages including: text, voice, pictures, etc., and the other is the event type to be discussed in this article. Including: following/unfollowing events, scanning QR code events with parameters, reporting geographical location events, custom menu-related events, etc. This article explains them one by one. As mentioned in the previous article, if the WeChat server does not receive a response within 5 seconds, it will disconnect the connection and reinitiate the request, retrying three times in total. In this case, the problem arises. There is such a scenario: when a user follows a WeChat account, the current user information is obtained, and then...

3. Recommended articles about message duplication

Recommended 10 commonly used WeChat server usages, welcome to download!

Introduction: As mentioned in the previous blog post, WeChat messages can be roughly divided into two types, one It is an ordinary message including: text, voice, picture, etc. The other is the event type to be described in this article. Including: following/unfollowing events, scanning QR code events with parameters, reporting geographical location events, custom menu-related events, etc. This article explains them one by one. As mentioned in the previous article, if the WeChat server does not receive a response within 5 seconds, it will disconnect the connection and reinitiate the request, retrying three times in total. In this case, the problem arises. There is such a scenario: when a user follows a WeChat account, the current user information is obtained, and then...

4. Detailed introduction to data decryption

Recommended 10 commonly used WeChat server usages, welcome to download!

Introduction: I often see some friends in the group asking about the mini program user data decryption process, so I plan to write an article about Tutorial on decrypting sensitive data of mini program users; the encryption process is completed on the WeChat server, and the decryption process is completed on the mini program and its own server, that is, the following data is obtained from encryptData: {    "openId": "OPENID" ;,    &

##5.

Introduction to WeChat Development (6) User Data Decryption

Recommended 10 commonly used WeChat server usages, welcome to download!

Introduction: I often see some friends asking about the decryption process of mini program user data in the group, so I plan to write a tutorial on decrypting sensitive data of mini program users. ; The encryption process is completed on the WeChat server, and the decryption process is completed on the mini program and its own server, that is, the following data is obtained from encryptData:

#6.

WeChat develops an interface for receiving geographical location and links With parameters

Recommended 10 commonly used WeChat server usages, welcome to download!

Introduction: Receiving ordinary messages When ordinary WeChat users send messages to public accounts, the WeChat server sends the XML data packet of the POST message to the developer to fill in on the URL.

7. WeChat develops the interface and parameters for receiving video messages

Recommended 10 commonly used WeChat server usages, welcome to download!

##Introduction: Receiving Ordinary Messages 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 develops the interface and parameters for receiving voice messages

Recommended 10 commonly used WeChat server usages, welcome to download!

##Introduction: Receiving Ordinary Messages 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.

9.

WeChat development interface and parameters for receiving picture messages

Recommended 10 commonly used WeChat server usages, welcome to download!##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.

10.

WeChat development interface and parameters for receiving text messages

Recommended 10 commonly used WeChat server usages, welcome to download!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:

[Related Q&A recommendations]:

node.js - WeChat generates forecast single interface returns empty!

java - WeChat generates QR code with parameters

node.js - Why is the MsgId of WeChat messages duplicated and unable to be deduplicated? . .

WeChat Development - PHP download network image problem, successfully tested locally, the file downloaded from the server is only more than 100 bytes

##java - After j2ee's WeChat development platform completed the xml and sent it back, the user got a question mark

The above is the detailed content of Recommended 10 commonly used WeChat server usages, welcome to download!. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!