search
WeChat development for receiving text messages

WeChat development for receiving text messages

The message types in WeChat are: text, picture, voice, video, geographical location, link and event message. Except for event messages, the others are collectively called ordinary messages. The push and response of messages in WeChat are transmitted in xml data packets. When a user sends a message to an official account, if the WeChat server does not receive a response within five seconds, the connection will be disconnected and the request will be reinitiated for a total of three retries. Ordinary messages can be deduplicated using msgid to avoid the impact of duplicate messages on business logic.

May 09, 2017 am 09:43 AM
微信开发,接受文本消息
WeChat development of receiving event push and message deduplication

WeChat development of receiving event push and message deduplication

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 that this article will cover. 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.

May 09, 2017 am 09:39 AM
微信开发,接收时间推送,消息排重
Message body signature, encryption and decryption developed by WeChat

Message body signature, encryption and decryption developed by WeChat

The first few articles are mainly preparations for WeChat development and have little technical content. In the first and second articles, I mainly talked about using Peanut Shell to cooperate with VS for code debugging. I was once complained by garden friends that I was a joke invited by Peanut Shell. I had no choice but to distinguish myself from Peanut Shell. Boundaries, before entering the main text of this article, I will introduce to you ngrok, a tool that is more useful than peanut shells. I will not explain the benefits of ngrok in detail here. After all, it is not the focus of this article.

May 09, 2017 am 09:33 AM
微信开发,消息体,签名,加解密
Newbie Access Guide to WeChat Development Department

Newbie Access Guide to WeChat Development Department

The working principle of the WeChat public platform message interface can be roughly understood as follows: the process from the user end to the public account end is as follows. The user sends a message to the WeChat server, and the WeChat server posts the received message to the URL filled in by the user when accessing. , in the url handler, first determine the legality of the message, and then make corresponding responses based on the content of the message body after successful judgment. The principle is easy to understand, and it may be easier for those who have been exposed to sockets.

May 09, 2017 am 09:20 AM
微信开发,新手接入
WeChat development vs remote debugging

WeChat development vs remote debugging

A few days ago I decided to write a series on WeChat public platform development. After publishing the first blog post, I received a lot of feedback and suggestions from garden friends. I would like to thank you all for your support. I will continue to write this series and hope to help more people. little friend. Special thanks to @ZIP, it was his reminder that led to this blog post. I also hope that more friends can give me your feedback.

May 08, 2017 am 11:32 AM
微信开发,vs远程调试
WeChat development debugging environment deployment

WeChat development debugging environment deployment

WeChat public accounts have been popular for a while. The author has been involved in the development of WeChat public accounts relatively early. I have been doing it for about a year and a half. From the beginning, I started looking for demos everywhere on the Internet to now developing some public accounts. There are countless tutorials on WeChat development in the garden, and I am ready to join in the fun. The first is to sort out the development experience during this period, and the second is to hope that it can help friends who want to develop WeChat. I hope that the great gods will take it easy when they complain. The author is just a loser programmer with less than three years of work experience. In terms of development experience, I am not on the same level as the masters in the garden, so I would like to ask the masters for their guidance.

May 08, 2017 am 11:18 AM
微信开发,调试环境部署
The big carousel function developed by WeChat

The big carousel function developed by WeChat

WeChat marketing is a new marketing model. Since WeChat pays more attention to the interaction between users, this kind of marketing promotion cannot blindly apply the simple large-scale advertising push method of Weibo marketing. This method is very ineffective in WeChat marketing and will make users disgusted and then cancel the WeChat public account of the company or merchant. For enterprises, an important aspect of WeChat promotion is to improve the viscosity between users and public accounts, and WeChat Carousel is one of the most common activities.

May 08, 2017 am 11:13 AM
微信开发,大转盘
2048 game developed by WeChat

2048 game developed by WeChat

In this WeChat mini program development tutorial, we will introduce how to use WeChat mini program to develop 2048 mini games. This article is mainly divided into two parts, the main part of the mini program and the mini game page part

May 08, 2017 am 11:04 AM
微信开发,游戏
Detailed explanation of sandbox key steps for WeChat payment development

Detailed explanation of sandbox key steps for WeChat payment development

In order to lower the testing threshold for merchants, the WeChat payment team developed an independent simulation testing system. The system returns different response messages based on the amount of the acceptance use case to meet the merchant's needs for normal function testing, security/abnormality testing, and performance testing.

May 08, 2017 am 10:50 AM
微信开发,微信支付
Detailed introduction to the initial experience of JFinal WeChat development

Detailed introduction to the initial experience of JFinal WeChat development

WeChat development is a relatively hot industry in the market currently. From WeChat official accounts to WeChat applets, it can be said that WeChat has greatly enriched people’s lives, and of course it has also given us developers some new gadgets. Today I will learn with my friends how to use jfinal Weixin SDK for rapid development. 1. How to use JFinal Weixin for WeChat development? JFinal Weixin Speedy Development SDK is a relatively good SDK package; it is mainly used to help Java developers develop WeChat...

May 07, 2017 pm 02:29 PM
JFinal,微信开发
Detailed introduction on how to use WeChat developer mobile application to create and obtain APP ID (picture)

Detailed introduction on how to use WeChat developer mobile application to create and obtain APP ID (picture)

Let’s talk about it for a while. With the development of WeChat, more and more apps are slowly beginning to access WeChat functions. For example, our common functions include sharing WeChat friends or Moments, WeChat login, payment and other functions. So how do we reach an agreement with WeChat and let Tencent work with us to get their interface. /This article only introduces the process of creating android and ios applications to obtain application interfaces on the premise that you have a WeChat developer account. I won’t mention the application for a WeChat developer account here. / WeChat developers create mobile applications and obtain APP IDste...

May 07, 2017 pm 02:23 PM
微信开发者,APP,ID
Detailed explanation of books on WeChat development

Detailed explanation of books on WeChat development

This is a book that can solve 90% of your WeChat development problems! The original name of this book is "Best Practices in WeChat Public Platform Development (3rd Edition)". Since the word "most" is not allowed in the new advertising law, the new book is called "WeChat Public Platform Development (From Zero Basics to ThinkPHP5 High-Performance Framework Practice)" , by Fang Bei, the author of three best-selling books on WeChat development: "Best Practices in WeChat Public Platform Development (1st Edition)", "Best Practices in WeChat Public Platform Development (2nd Edition)", and "Development of Enterprise WeChat Public Platforms" Room preparation. The electronic version is currently published on Kanyun, a professional domestic electronic publishing hosting platform, and supports WeChat payment and Alipay payment for online purchase.

May 06, 2017 am 10:39 AM
微信开发,图文详解
Detailed explanation of WeChat protocol

Detailed explanation of WeChat protocol

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.

May 06, 2017 am 10:27 AM
微信,web协议
Detailed picture and text explanation of obtaining geographical location on WeChat

Detailed picture and text explanation of obtaining geographical location on WeChat

1. Follow the WeChat public account of "Fangbei Studio" and reply "123" to get the link to create a positioning drift bottle. 2. Select your own privacy options, the other party’s information acquisition options, fill in the content of the letter, and select the validity period of the drift bottle.

May 06, 2017 am 10:10 AM
微信开发,地理位置,图文详解

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use