Wechat web page authorizes openid and accesstoken

Wechat web page authorization
step 1: get code
step 2: get access_token and openid through code

The

problem arises, isn"t it true that access_token can only take 2000 of them a day? This means that only 2000 openid can be fetched per day through this API

.

there should be other ways to get openid,

ask the Great God for help

Mar.28,2021

specifically, the web authorization process is divided into four steps:

1. Guide the user to the authorization page to agree to the authorization and obtain code

2. Get access_token authorization via code ( is different from access_token in basic support )

3. If necessary, developers can refresh the web page authorization access_token, to avoid expiration

4. Get basic user information through web authorization access_token and openid (UnionID mechanism is supported)

Children's shoes, which are not carefully documented, have helped you highlight, and remind you that there are many ready-made libraries available on Wechat's web page authorization and public platform API npm

.
Menu