- 三方平台授权代公众号授权问题?
component_appid=wx56c62aa327157fb0 appid=wx35b4d488049170b3 三方平台代公众号发起网页授权问题,获取accesstoken的时候报{\"errcode\":40001,\"errmsg\":\"invalid credential, access_token is invalid or not latest, rid: 66e55c80-6f808a57-63c10317\"} 第一步:获取code正常获取到了 第二步:获取access_token报错,请求和出参如下: https://api.weixin.qq.com/sns/oauth2/component/access_token?appid=wx35b4d488049170b3&code=071Oa1ll2sQH9e4zTFml2KK9Xu3Oa1lm&grant_type=authorization_code&component_appid=wx56c62aa327157fb0&component_access_token=component_access_token component_access_token是对的,因为我用这个component_access_token是可以获取到authorizer_access_token的 出参如下:{"body":"{\"errcode\":40001,\"errmsg\":\"invalid credential, access_token is invalid or not latest, rid: 66e55c80-6f808a57-63c10317\"}","headers":{"Connection":["keep-alive"],"Date":["Sat, 14 Sep 2024 09:50:56 GMT"],"Content-Type":["application/json; encoding=utf-8"],"RetKey":["11"],"LogicRet":["40001"],"Content-Length":["119"]},"statusCode":"OK","statusCodeValue":200} 实在不知道哪儿出了问题,望大佬帮忙看下
09-14 - 微信公众号授权给了三方平台,通过三方平台生成了带参的关注二维码,扫码后公众号没有自动回复消息?
问题描述:微信公众号授权给了三方平台,通过三方平台生成了微信公众号的带参二维码,扫码后关注微信公众号,三方平台后端接收到了subscribe订阅信息,但是有回复内容,这个回复内容扫码的用户没收到。能帮我看下是什么原因吗,是不是哪一步操作的不对?以下是具体参数: 三方平台appid:wx56c62aa327157fb0 微信公众号的appid :wx35b4d488049170b3 接口在收到subscribe订阅消息后给微信的回复内容是: <xml> <Encrypt><![CDATA[2WP8SslM+TpnD60SZEky8Ux8mY3bxMPjj4+qsxxlALETm3yu+ilx11N7W4R43ZQfUcSWqKlU7zdQmjkSeyU+xe9lalwZ7vd/WP1nMMUUiPs+NYmice/hZRSNiTRK4T0Wgnxole7vokJHbodhMwm4GmNYcZEkIuhwS4cX1K2YVTp+/LhybxBnSO+e1wQs8huATziFBJaudN7wECwhJ7dTO8FXlVZCtatV09kJS2yKUj9mmJElZ8JU2U8i4qsbKhAgDW2rnmqFxWtYHe8OHsB0rLf3vBaiJjSfLJ4KRVKD0iMjaq8sjTxhpTdiwsneDb+BU1Tl1VOtncC3yOOF22HZ/z6pyQKDqIK3xsYvsojtgU9/cJPujcmCzkWpd1l+q8wvnGGF++I/Et5F/3q6bozkgsu9LmV81QIKhfEPRcxh0zE=]]></Encrypt> <MsgSignature><![CDATA[04b69eb8eba7c36f719018dc9f7762db052fcc1a]]></MsgSignature> <TimeStamp>1726121289771</TimeStamp> <Nonce><![CDATA[991035763]]></Nonce> </xml> 内容的生成是用官方提供的类生成的: String timestamp = String.valueOf(System.currentTimeMillis()); String message = "<xml>\n" + " <ToUserName><![CDATA[oyXra6Lx67gLN_2vB_0-nh_Bjwxc]]></ToUserName>\n" + " <FromUserName><![CDATA[gh_59a243b42a92]]></FromUserName>\n" + " <CreateTime>"+timestamp+"</CreateTime>\n" + " <MsgType><![CDATA[text]]></MsgType>\n" + " <Content><![CDATA[欢迎关注]]></Content>\n" + "</xml>"; WXBizMsgCrypt pc = new WXBizMsgCrypt(token, encodingAesKey, appId); return pc.encryptMsg(message, timestamp, nonce); token encodingAesKey 是三方平台配置的 appid是三方平台的appid 可以帮我看下吗,感谢
09-12 - 我建了一个测试公众号,但是配置基础配置-服务器配置提交保存一直报系统错误,能帮我看下吗?
我建了一个测试公众号,但是配置基础配置-服务器配置提交保存一直报系统错误,能帮我看下吗? [图片]
09-02