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

这个可不可以添加一个好友自动通过功能,还有其他建议 #1145

Open
1 task done
fromleige opened this issue May 25, 2023 · 11 comments · May be fixed by #1900
Open
1 task done

这个可不可以添加一个好友自动通过功能,还有其他建议 #1145

fromleige opened this issue May 25, 2023 · 11 comments · May be fixed by #1900

Comments

@fromleige
Copy link

⚠️ 搜索是否存在类似issue

  • 我已经搜索过issues和disscussions,没有发现相似issue

总结

我发现这个只能手动通过,其他的暂时没了

举例

我记得跟一个好友试过的,没办法

动机

我想提出新的建议:
添加一个好友自动通过功能
部分功能不完善,只能拜托大佬完善了。

@Roseleaves
Copy link

image

有没有试过在config里面直接输入

[system]
accept_friend_request = true

@fromleige
Copy link
Author

@Roseleaves 没,我不知道在哪个config里边加

@congxuma
Copy link

微信里不是可设置不需要验证加好友么

@fromleige
Copy link
Author

@congxuma 我好像试过了的,显示发送信息频繁,请稍后再试

@adminlove520
Copy link

image

有没有试过在config里面直接输入

[system]
accept_friend_request = true

这个没看见呀 有这段代码?

@adminlove520
Copy link

自动接收邀请入群请求和好友请求我感觉挺有用的 众筹作者开发哈哈

@RolloTomasiii
Copy link

我开发出来了,定时通过好友申请与群聊邀请

@adminlove520
Copy link

请问可以提个pr嘛 看看

@RolloTomasiii
Copy link

#1353

@shaxao
Copy link

shaxao commented Nov 28, 2023

根据itchat的文档,在信道里增加添加好友的函数就行。没有add_friend,改成accept_friend了,所以函数里直接调用itchat.instance.accept.friend(user_id,crop_id),注意的是,要对自动添加好友加约束,每个添加请求最好有间隔时间,每天不能加太多,否则微信会限制。

@hl123-123
Copy link

可是我想得到申请好友的列表,不然accept_friend不知道同意哪个好友咋办

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants