Wishlist 0 ¥0.00

微信网页授权errcode:48001

errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 86klWa06252167 ]

原因:

①:你的服务号必须是通过腾讯认证,每年是300元,如果没有认证而导致的错误提示,那就去认证,别往下看了!如果你已认证,本条原因排除,那么请继续往下看

 

②:你是否是第三方网页,第三方网页的话,那么你的url地址里面的scope这个参数要填写"snsapi_userinfo",否则会报这个错!原因如下!

我是用snsapi_base访问的,所以没有出现了这个错误,改用snsapi_userinfo的方式就好了.

原因是snssapi_base静默授权,只能获取openid,获取不了用户其他信息.

snsapi_userinfo需要用户手动同意,才可以获取用户的昵称,头像,地区信息,但是微信号是获取不到的(保护用户隐私,不能随便让人获取哈)。

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.