Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[自动处理好友请求]并回复特定文本 #22

Open
PetersonLian opened this issue Jul 23, 2017 · 8 comments
Open

[自动处理好友请求]并回复特定文本 #22

PetersonLian opened this issue Jul 23, 2017 · 8 comments
Assignees

Comments

@PetersonLian
Copy link

能否自动处理人家相加好友的请求,能自动回复特定文本那就更好了

@SolessChong
Copy link

这个会受到微信极大的限制。做出来也没用。

@fritx
Copy link
Owner

fritx commented Jul 31, 2017

嗯嗯,加好友的再看看,其实只要web有推送就可以检测的。
只是可能会像红包消息等,无法主动反应,需要被动轮训监测,或是根本无法查看详细内容以及作出反应,如无法抢红包。
恢复特定文本,这个只需要稍微修改项目源代码,就可以实现。
后续有机会,可能会考虑加强一下易用性。

@fritx
Copy link
Owner

fritx commented Jul 31, 2017

试了下,发现可以实现,不过要抽空搞一搞~
微信限制的话没办法了,这东西本来就是试验品玩玩~

@PetersonLian
Copy link
Author

@fritx 需求是“有好友申请,自动通过,并且回复一段文字”,这个需求,根据现有这个项目提供的能力,是可以做到的?能指点下思路吗。谢谢了。

@fritx
Copy link
Owner

fritx commented Aug 3, 2017

嗯,我上次调研了下,但是还没实现

  • 首先是左侧联系人列表会出现一个"好友推荐"
  • 点击进入,会有一条消息气泡,写着"xxx请求加为好友"
  • 点击气泡,会显示一个用户名片
  • 点击名片上的"+"图标,会有提示框"是否加为好友"
  • 点击确定,此时已经添加成功
  • 如果再次点击气泡,名片上的"+"图标已经替换为"发送消息"图标

@PetersonLian
Copy link
Author

恩。知道了。谢谢

@SolessChong
Copy link

@PetersonLian 这个直接发送请求会比较方便。好友请求过来会有一个网络请求,里面带一些参数,再根据这些参数发送接受好友的请求,会比较快。

@fritx
Copy link
Owner

fritx commented Aug 6, 2017

@SolessChong 都ok,主要是wxbot这个项目的思路是基于ui的,目前还没涉及任何请求接口协议,同时也和其他bot项目形成差异化。

@fritx fritx self-assigned this Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants