html52.com
我爱小程序-开发者交流社区

获取小程序access_token失败

小程序授权给第三方平台之后,代小程序调用接口需要获取access_token,因为access_token有有效期,所以需要先保存起来,等到有效期快到的时候再获取,access_token通过https:// api.weixin.qq.com /cgi-bin/component/api_authorizer_token?component_access_token=xxxxx接口获取,参数{
"component_appid":"appid_value",
"authorizer_appid":"auth_appid_value",
"authorizer_refresh_token":"refresh_token_value",
},但是出现报错authorizer_refresh_token为无效的,此时获取的小程序access_token为空。请问各位大神可能是什么原因?

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付