Comments (8)
建议用备注来唯一标识。
from vbot.
群好像没有备注功能吧,还有个问题 有接口获取所有群么,貌似有些不活跃的群 webwxbatchgetcontact?type=ex 这个接口是不返回的 @96qbhy @Hanson
from vbot.
@charlesyq 是不能一次获取的,除非你添加到通讯录
from vbot.
@Hanson 有个问题请教下,我看微信请求webwxgetcontact 这个获取联系人方法的时候 只返回了20个群 但是不知道为什么后来他能获取到50个群了,后边的群是怎么获取到的呀
from vbot.
@charlesyq 随机事件。除非全部群保存通信录,否则不靠谱
from vbot.
@Hanson 哈,但是我发现登陆网页版的时候每次第二次请求webwxgetcontact?type=ex的时候他请求的时候都是已经获取到50个群了,貌似我微信就50个群
from vbot.
@Hanson 还有个问题 我在 messageHandler 的时候做了处理 有群消息过来的时候更新群
$username = $message['from']['UserName'];
if($groups->isGroup($username)){
vbot('console')->log('群数量:'.count($groups->all()));
$groups->update($username);
vbot('console')->log('群数量:'.count($groups->all()));
}
发现控制台输出是更新了群 ,有新的群进来的时候群数量会增加 但是api接口请求的数据却没有同步过来,这是为什么呀
from vbot.
@charlesyq 请问这个获取全部群的功能,有做出来吗,能否提供下思路
from vbot.
Related Issues (20)
- 请问可以通过c++程序,调用vbot给某个好友发消息么?
- 发信方的uin 获取不到 始终为0 HOT 1
- 撤回时无法取到撤回内容 HOT 2
- 已经不能用了吗?
- 拉人,踢人接口不能用了 HOT 4
- 现在微信不能登录网页版微信了 HOT 5
- 缓存设置为redis,是否需要修改一行代码 HOT 2
- 添加群好友返回信息错误
- 添加群好友返回信息错误
- 请问api接口如何发送图片?
- 我大号也登不上去,微信网页端应该要下线了 HOT 1
- 部分消息发送时会出现 Ret=3的错误
- 现在没法使用了吗? HOT 1
- 前段时间还好好的,最近两个星期每天凌晨3-5点都会程序退出,怎么不退出呢? HOT 6
- laravel5.5 使用 command 命令编写后 所有artisan命令都失效。 HOT 1
- 【研发必看!!!】做机器人,小助手,营销系统,客服系统,监管系统的可以 看下这个API方案 https://www.wkteam.cn/
- phpqrcode已经废弃了
- 推荐一个合规不封号的解决方案
- 商用方案看这里!hook 和协议都有 HOT 1
- 国务院对该项目的相关处理
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vbot.