In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you the Wechat public account development and debugging tools example analysis, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article. Let's take a look at it!
Recently, I was doing the development of Wechat public account, but when there was an error in debugging with my mobile phone, I didn't reply to anything, and it was too inefficient to debug by logging, so this gadget software was born.
Function introduction:
When developing Wechat public platform, most of us use mobile phones to send messages through Wechat, and then log some debugging information, because once there is something wrong with our WEB program or times out, we can't see the knot on WeChat. Using this gadget, you can solve this problem. Even if it is a timeout (Wechat server only gives you 5 seconds), don't be afraid. Of course, it's best if you don't time out.
1. Request URL input you in the public platform development mode of the URL (figure below), this tool does not have a signature verification algorithm, so do not fill in Token, but in the WEB program for security we need to check the signature, so you have to add only you know parameters such as debug=true, so that the WEB program does not perform signature verification, so that you can skip the part of the debugging. You can save up to 3 request URLs, each of which records the parameters submitted for the last time to facilitate debugging between multiple servers.
When a 2.FromUserName user sends a message to a public account, the Wechat server will send a unique ID for identifying the user every time. At the same time, it will also send the unique identity of the public account. The text box above the submit button shows the content submitted by the simulated Wechat server to our WEB server. You can see FromUserName and ToUserName.
3.ToUserName is similar to the FromUserName above.
4. Text / voice / picture / location / follow / unfollow / menu these options simulate the type of message sent by the user, and the actual message content is filled in by yourself.
5. Needless to say about the submit button.
6.5s automatically disconnect the check box to simulate the timing mechanism of the Wechat server. Generally, requests do not exceed 5 seconds, but sometimes there are requests for more than 5 seconds, which I have seen myself. This happens in some specific operations, so this is also useful.
7. There is no need to explain the content of the response.
8. Clear the response button. You don't have to explain this, right?
The above is all the contents of the article "sample Analysis of Wechat Public account Development and debugging tools". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.