Home >Backend Development >PHP Tutorial >The openid obtained by WeChat oauth login is different from the openid in the following user list.
The website is connected to the WeChat code scanning login (oauth) function (automatically follows the public account). After logging in, I will get the openid of the logged in user and save it.
I need to use openid to send targeted messages to users, but the test failed in the middle of the night
After debugging, I found that the openid obtained through oauth is different from the openid obtained by directly calling the API to obtain the list of followed users! !
Why is it different?
Is there any way to correspond?
I need to use openid to send messages, and the openid obtained through oauth cannot send messages.
Dear masters, please give me some advice, thank you!
Waiting online urgently. .