wechat-api icon indicating copy to clipboard operation
wechat-api copied to clipboard

Wechat API / 主动调用 API

Results 26 wechat-api issues
Sort by recently updated
recently updated
newest added

Q: I get a buffer result but a json when I use the getMaterial api. check the file: lib/api_material.js at the row 253, u just give a opts before request...

exports.updateNewsMaterial = function (news, callback) { this.preRequest(this._uploadNewsMaterial, arguments); }; /*! - 新增永久图文素材的未封装版本 */ // 这里的地址有错/add_news?access_token应该是update_news吧 exports._updateNewsMaterial = function (news, callback) { var url = this.prefix + 'material/add_news?access_token=' + this.token.accessToken; this.request(url,...

请教一下,在获取用户信息时经常会报WeChatAPIJSONResponseFormatError的错,怎么解决

我这边的版本 (可能和github上的有差异) , 该文件第 161 行 有时候会报错. 错误的原因是, data 为空 ``` API.prototype.getAccessToken = function (callback) { var that = this; var url = this.prefix + 'token?grant_type=client_credential&appid=' + this.appid + '&secret='...

发送客服 语音消息接口有问题,始终返回 invalid media_id, 我确保,media id 是正确的。 这个你们写单元测试了吗?没看到有啊