In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about how to solve the problem that TP made a 10003 error in getting Wechat user information. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
ThinkPHP3 acquires Wechat user information-error code 10003: redirect_uri domain name is inconsistent with backend configuration error
To obtain user information, the PC side did not report an error, but only the Wechat side reported an error. At first, I thought it was the WeChat side's problem.
After looking for it on the Internet for a long time, it is said that the oauth3 domain name added http, but the fact is that my own project did not add it.
Later, I finally saw several different answers. I tried to change it and finally succeeded. Wechat no longer reported this error. I'll share it with you!
If you have confirmed that your oauth3 license url does not add http
Please check your redirect_uri to see if you have added httpboxes in front of the domain name!
The code is as follows:
/ / be sure to check your redirect_uri$redirect = 'https://open.weixin.qq.com/connect/oauth3/authorize?appid=, your appID&redirect_uri=http://, your domain name / get?id=18&response_type=code&scope=snsapi_base&state=1&connect_redirect=1#wechat_redirect'
Then, the problem is solved!
Thank you for reading! This is the end of the article on "how to solve the problem of 10003 error in getting Wechat user information by TP". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, you can share it out 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.