小程序
小游戏
企业微信
微信支付
扫描小程序码分享
调用wx.getUserInfo不支持获取用户授权的微信昵称和头像了,那么在微信小程序中如何获得呢?谢谢!
4 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
这个api已经废弃了,通过这个获取https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
当前如果有头像和昵称获取的需要,只能让用户自己填写:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
我用这个,一键获取真实头像和昵称 https://blog.csdn.net/think_about_it/article/details/148851745
本回答由AI生成,可能已过期、失效或不适用于当前情形,请谨慎参考
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
这个api已经废弃了,通过这个获取https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
当前如果有头像和昵称获取的需要,只能让用户自己填写:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
我用这个,一键获取真实头像和昵称 https://blog.csdn.net/think_about_it/article/details/148851745