无法根据用户openid获取用户基本信息Unable to get user basic information based on user openid
无法根据用户openid获取用户基本信息https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html
回答:
可以通过网页授权方式获取。
https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html#3
官方要保护用户隐私,必须用户主动授权才可以。
原文出处:无法根据用户openid获取用户基本信息
目前只能通过网页授权方式获取。