收藏
回答

服务号openId 查关注服务号用户的基本信息接口查unionId?

公众号ID
wxf6bfdedf693e8acd
接口 GET https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=o6_bmjrPTlm6_2sgVt7hMZOPfL2M&lang=zh_CN

官方文档 https://developers.weixin.qq.com/doc/service/api/usermanage/userinfo/api_userinfo.html
文档写了 服务号绑 开放平台后会给 unionId 。但是目前查出没有 unionId
问ai 说是过时了  不会给头像信息  要换成 主动授权的 sns/userinfo  ,但我要的是unionId , sns这接口 看着是给网站应用用的,然而我的是服务号啊?

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

3 个回答

  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    02-28

    你好,了解下:https://developers.weixin.qq.com/doc/service/api/usermanage/userinfo/api_userinfo.html

    02-28
    有用
    回复
  • 智能回答 智能回答 本次回答由AI生成
    02-06
    有用 1
    回复 1
    • hergs
      hergs
      02-06
      不用/sns/userinfo接口用/cgi-bin/user/info这个 能查unionId吗
      02-06
      回复
  • hergs
    hergs
    02-06

    不用/sns/userinfo接口 能查unionId吗

    

    02-06
    有用
    回复
登录 后发表内容