关于订阅消息access_token问题?
发布于 5 年前 作者 mingguo 6917 次浏览 来自 问答

我给用户发订阅消息,那这个access_token(https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token={$access_token})的获取问题

 $json_token =  httpGet(“https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={$appid}&secret={$appsecret}”);

这个appsecret是开发者的这个值吗?还是说有其他方法获取access_token?谢谢

1 回复

appsecret是你小程序的秘钥,在小程序后台管理里面,如果没有保存的话就只能重置

回到顶部