https://github.com/node-webot/wechat_push
微信主动发送功能模块
https://github.com/node-webot/wechat_push
Last synced: 6 months ago
JSON representation
微信主动发送功能模块
- Host: GitHub
- URL: https://github.com/node-webot/wechat_push
- Owner: node-webot
- Created: 2013-07-02T12:49:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-04T03:53:22.000Z (about 12 years ago)
- Last Synced: 2025-04-23T18:47:20.796Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 138 KB
- Stars: 39
- Watchers: 9
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Wechat Push
=============
**微信已经提供了客服消息发送的接口,如需调用,请参见[wechat模块](https://github.com/node-webot/wechat)。本模块将不再维护。**
使用方式如下:
```
var Pusher = require('wechat_push');
var pusher = new Pusher(username, password);
pusher.login(function (err) {
// send的第一个参数为fakeId,请自行搞定
pusher.send('604347680', '搞定push', function (err, data) {
// 发送完成
done();
});
});
```
## 注意
由于微信方面没有公开相关API,不能保证本模块能永远正常工作。
## License
The MIT License
## 捐赠
如果您觉得本模块对您有帮助,欢迎请作者一杯咖啡:
[](https://me.alipay.com/jacksontian)