In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail the example analysis on the principle of Wechat public account development message. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
1. Message description
The message mode of Wechat public account can be divided into two kinds: edit mode and development mode.
Edit mode:
The message is processed by the Wechat public platform server. when the user sends a message to the public account, the Wechat public platform server will reply according to the message rules defined by the public account on the Wechat public platform. If there is no match, then there will be no reply, which is why we sometimes do not receive a reply when we send a message to the public account.
Of course, Wechat public accounts can selectively reply to a user's message, that is, in the message list of Wechat public platform, you can reply to a message sent by a user.
Development mode:
The message is processed by the developer server. when the user sends a message to the public account, the Wechat public platform server forwards the message sent by the user to the developer server. the developer server packages the reply message according to its own business (for example, it can reply randomly, or it can reply a message regularly, etc., such as the public account of China Merchants Bank). Then send the reply message to the Wechat public platform server After receiving the message, the Wechat public platform server sends the message to the user.
Of course, you can also reply to a message sent by a user on the Wechat public platform.
In addition: for the menu of the Wechat public account, when we click on a menu, we also send a message to the public account, but the user's experience is different (one is interface operation, the other is message sending). But it's essentially the same.
Second, logical flow chart
Let's first take a look at the flow chart when the user sends a message directly.
(figure 1)
If a public account has a menu, you will actually send a message when you click on the menu, but it is slightly different, as shown below:
If the menu is a web link menu, then visit the web page directly in Wechat
If it is an event menu, it is equivalent to sending a message, and the whole process is the same as (figure 1)
This is the end of the article on "sample Analysis of the message principle of Wechat Public account Development". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.