Micro-letter web authorization errcode: 48001

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

the reason:

①: Your service number must be certified by Tencent, each year is $ 300, if no authentication caused by error, then go to certification, do not look down! If you are already certified, the reason to exclude this article, then please read on

 

②: Whether you are a third-party website, third-party webpage, then your url address inside the scope of this parameter to fill in the "snsapi_userinfo", otherwise it will be reported this wrong! The reason is as follows!

I was snsapi_base access, it does not appear this error, use snsapi_userinfo way just fine.

The reason is snssapi_base silent authorized only get openid, the user can not obtain additional information.

snsapi_userinfo require users to manually consent before they can get the user's nickname, avatar, regional information, but not the micro signal is acquired (to protect user privacy, people can not just get ha).

Published 79 original articles · won praise 48 · views 90000 +

Guess you like

Origin blog.csdn.net/bianyamei/article/details/81154569