收藏
回答

获取用户基本信息(UnionID机制) 获取不到UnionID

https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html

我已经关注测试公众号,为什么拿不到unionID,

拿到的结果是:{
  "country": "",
  "qr_scene": 123123,
  "subscribe": 1,
  "city": "",
  "openid": "ojhbM6aKY4HE7fLGlb7UDK5McwPE",
  "tagid_list": [],
  "sex": 0,
  "groupid": 0,
  "language": "zh_CN",
  "remark": "",
  "subscribe_time": 1691133840,
  "province": "",
  "subscribe_scene": "ADD_SCENE_QR_CODE",
  "nickname": "",
  "headimgurl": "",
  "qr_scene_str": ""
}


回答关注问题邀请回答
收藏

2 个回答

  • 默
    2023-08-04

    unionID需要绑定开放平台才会返回

    2023-08-04
    有用
    回复
  • จุ๊บ
    จุ๊บ
    2023-08-04

    2023-08-04
    有用
    回复
登录 后发表内容