获取公众号用户的信息为空,我看到官方文档说27号后不能获取头像和用户昵称.为什么其他信息也不返回了?

小程序 文章 2021-12-28 16:00 10 0 全屏看文

获取公众号用户的信息为空,我看到官方文档说27号后不能获取头像和用户昵称.为什么其他信息也不返回了?The information of obtaining the official account user is empty. I saw the official document saying that the avatar and user nickname cannot be obtained after the 27th. Why is other information not returned?

获取公众号用户的信息为空,我看到官方文档说27号后不能获取头像和用户昵称.为什么其他信息也不返回了?

{

    "subscribe": 1,

    "openid": "oDFEXwFtJll-0t-AFO4u8edjfX**",

    "nickname": "",

    "sex": 0,

    "language": "zh_CN",

    "city": "",

    "province": "",

    "country": "",

    "headimgurl": "",

    "subscribe_time": 16299674**,

    "remark": "",

    "groupid": 0,

    "tagid_list": [],

    "subscribe_scene": "ADD_SCENE_OTHERS",

    "qr_scene": 0,

    "qr_scene_str": ""

}


下面是 访问url 没有问题吧

'https://api.weixin.qq.com/cgi-bin/user/info?access_token=**&openid=**&lang=zh_CN'


FEXEXwFwFwwFFwwwFFtjjII-0t-0t-AFO444u844u8444u8jjfX**", "nickname"""", "sex": 0, "language", "language", "zh_CN", ", "city""", ", "province"""", ", ", province""""", ", ", "province"""", ", "country""headimgurl""", ", "headimgurl"""", ", ", ", "subssubssubssubscribe_time"""", "headimgurl"""", ", "headimgurl""", ", ", ", "subssubssubssubssubscribe_time", "groupid": 0, tagid_list_list"), "subssubscribe_scene", "r_scene": 0, "qr_scene_str": "} The following is visiting url No problem." https://api.weixin.qq.com/cgi-bin/user/info?access_token= **&openid=**&lang=zh_CN'

回答:

社区技术运营专员-horanzhou:你好,批量获取用户信息,扫码获取用户基本信息都不会返回头像和昵称,建议网页授权获取用户基本信息
拾忆:

是的,27号后公众号静默授权的话昵称和头像也不返回了。

xplee:

调整之后,性别,地区都不返回的

-EOF-