In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "php development WeChat public platform interface intelligent reply example analysis", the content is simple and easy to understand, organized clearly, I hope to help you solve doubts, let Xiaobian lead you to study and learn "php development WeChat public platform interface intelligent reply example analysis" this article bar.
The details are as follows:
Intelligent reply is based on the user input conditions to feedback the results with the user, this small series has done a letter before to sort out some examples for your reference, more complete is mainly introduced in the development side.
WeChat has been really popular since its launch, and the launch of the payment function has pushed WeChat to an unparalleled height, and then people who apply for WeChat subscription numbers or service numbers have begun to follow suit. Below I will give you a brief explanation of the WeChat public platform development interface.
First go to WeChat public platform to apply for an account, and then follow the prompts step by step. In selecting subscription numbers and service numbers, individuals can only apply for subscription numbers and are limited to basic functions; enterprises can apply for both. The difference between subscription number and service number is that subscription number can send a message every day, while service number can send a message every month; subscription number needs WeChat authentication to customize menu (enterprise can authenticate, authentication 300 yuan once), while service number has custom menu at the beginning, but it can also be authenticated. After authentication, service number directly upgrades advanced function. More differences please Baidu...
I applied for a subscription number because it was personal. As long as a hand ID can be a headshot, although a bit silly. Then wait for the information registration review (about a day). After passing through, directly enter the WeChat public platform, click the function to enter the advanced function, close the edit mode, open the development mode, and then download the demo provided by WeChat, decompress, and a file: wx_sample.php, the code is as follows:
It's authentication, and then it sends a message. Transfer the file to your server, I'll put it in the root directory, and then modify the url and token values in development mode. Suppose the url used here is http://www.jb51.net/wx_sample.php, token is the token defined above, this can be changed, as long as the two sides remain consistent, the default is weixin. Then click Submit and you will be prompted to succeed. Then scan the number you applied for and send a message. You will find that there is no response. At this time, we need to make a small adjustment. Close the method of calling authentication in the interface document and open the method of calling processing reply information:
//$wechatObj->valid();$wechatObj->responseMsg();
Welcome to Wechat World!
After paying attention to some subscription numbers or service numbers, I will receive a message immediately. What is the answer to this question?(1) What is the answer to this question?
So how does this work? Code directly on:
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.