Home >Backend Development >PHP Tutorial >Problem with WeChat webpage authorizing snsapi_base to obtain openid

Problem with WeChat webpage authorizing snsapi_base to obtain openid

WBOY
WBOYOriginal
2016-07-06 13:52:411234browse

I want to ask a question. I am using WeChat to log in to a webpage without following it. The openid I got should be the same as the openid generated by the user following the official account. I found that the interface for authorizing the webpage to obtain the openid is also passed I have changed the appid and appsecret of the official account. Is this the case? Or is the openid generated by the user entering the webpage his own separate openid? The openid of the official account that is followed is different

Reply content:

I want to ask a question. I am using WeChat to log in to a webpage without following it. The openid I got should be the same as the openid generated by the user following the official account. I found that the interface for authorizing the webpage to obtain the openid is also passed I have changed the appid and appsecret of the official account. Is this the case? Or is the openid generated by the user entering the webpage his own separate openid? The openid of the official account that is followed is different

openid is the same, openid is only related to users and public accounts

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn