Fritz Lin

Results 364 comments of Fritz Lin

Python网页微信API https://github.com/liuwons/wxBot > Web微信协议参考资料: > 挖掘微信Web版通信的全过程 http://www.tanhao.me/talk/1466.html/ > 微信协议简单调研笔记 http://www.blogjava.net/yongboy/archive/2015/11/05/410636.html

相关文档收集: https://github.com/fritx/awesome-wechat#docs > - [网页版微信抓包+注入实现表情贴纸显示](https://github.com/geeeeeeeeek/electronic-wechat/issues/2) > - [wechatircd——用IRC客户端控制微信网页版](https://maskray.me/blog/2016-02-21-wechatircd) > - [挖掘微信Web版通信的全过程](http://www.tanhao.me/talk/1466.html/) > - [微信协议简单调研笔记](http://www.blogjava.net/yongboy/archive/2015/11/05/410636.html)

@chijiao 你好, ```js // src/index.js let { spawn } = require('child_process') ``` 这行貌似用到了"object destructing"这个新语法,根据[node.green](http://node.green/#ES2015-syntax-destructuring--assignment)看, 估计是要node6.4以上才支持,我也不确定。 wxbot最新的这个next分支, 我是基于node7开发的,~~总是~~总之尽量用node6/7运行应该就可以了。 推荐使用[nvm](http://nvm.sh/)进行版本管理/切换。

@touching-foots-huskie 你好, 根据错误`sh: 1: node: not found`查看几个类似的issue以及stackoverflow答案: - https://github.com/yakyak/yakyak/issues/200 - https://github.com/linnovate/mean/issues/731 - http://stackoverflow.com/questions/21168141/cannot-install-packages-using-node-package-manager-in-ubuntu 可能是某些操作系统,通过某些途径安装nodejs时,提供的命令不是`node`而是`nodejs`,解决方法: 1. stackoverflow中提到的hack:进入`which nodejs`返回的相关目录,然后`ln -s nodejs node`。 2. 或者,推荐使用[nvm](http://nvm.sh/)进行node版本管理/切换,它会提供`node`命令。

@chenweican 发生啥情况? 发群消息,触发条件是? 现在wxbot只有自动回复模式,先说说你的需求,我可以重构一下

@chenweican ok 你可以先看看这里的项目 https://github.com/fritx/awesome-wechat 我有空的话 打算重写一下 到时再支持主动发消息

之前有发现过,有空要再看看?

OK, CentOS我不是很熟悉。关联:#19 我先在这里简单写一下安装步骤: 1. 安装nvm https://github.com/creationix/nvm/blob/master/README.md#install-script ```plain curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash ``` 2. 安装较新版本node.js https://github.com/creationix/nvm/blob/master/README.md#usage ```plain nvm install 7.10.0 nvm use 7.10.0 nvm alias default 7.10.0 ``` 3. git克隆wxbot项目,next分支,或直接下载zip包...

嗯嗯,红点估计没问题,主要是缺少一个任务队列,现在这个版本过于粗糙。 我自己也会碰到这个情况,并发的时候只有回复了其中一个人。 后续有空的话将考虑重写 :joy:

可以尝试改一下,现在的demo过于简单,还有差距