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

获取完整联系人列表(人数大于1558) #50

Open
mingxi opened this issue Apr 1, 2018 · 3 comments
Open

获取完整联系人列表(人数大于1558) #50

mingxi opened this issue Apr 1, 2018 · 3 comments

Comments

@mingxi
Copy link

mingxi commented Apr 1, 2018

首先感谢作者的分享,最近使用中发现一个问题:我的需求是获取所有好友信息(总共3000人)。
看了下应该是通过getcontact这个API返回的response,但是返回就1558个。
进一步研究发现有过seq参数(初始为0),试了下用第一次返回的seq作为参数再请求一次getcontact,返回为空。
不知道有没有朋友遇到这个问题,是否有办法实现我这个需求?

@songtianyi
Copy link
Owner

不改参数 再调用一次呢?

@mingxi
Copy link
Author

mingxi commented Apr 23, 2018

参数不改,2次返回值是一样的。
文件:api.go
函数:func WebWxGetContact(common *Common, ce *XmlConfig, cookies []*http.Cookie) ([]byte, error)

@zsq2010
Copy link

zsq2010 commented May 3, 2021

这个问题,其他地方看到好像是说超过2000还是多少人的 会拆分发送哦

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