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

For account security, newly registered WeChat accounts are unable to log in to WeChat for Web. #1

Closed
zhongqin0820 opened this issue Dec 9, 2019 · 2 comments

Comments

@zhongqin0820
Copy link

Hi, @liangjfblue Your project is awesome but I think code in wcbot/wcbot.go#L359 has a typo, should be root != nil? (As the title indicated the error I encountered.)

root := doc.SelectElement("error")
if root != nil {
	logrus.Error(string(data))
	return false
}

Appreciate if you can explain what are appKeyconfig.yaml#L4 and the two appid(wcbot/api.go#L162,wcbot/wcbot.go#L232) in your project respectively? (Both Chinese and English are OK for me.)

Also, what is the LICENSE used?

@liangjfblue
Copy link
Owner

@zhongqin0820
1.
youraccount cant not login, because the account registered after 2018 can't log in to web wechat, you can try login web wechat to make sure your account can login web wechat or not

root := doc.SelectElement("error")
if root == nil {
	logrus.Error(string(data))
	return false
}

this no error, should return when root is nil, because when root is nil, the following code will be wrong

  1. appid is wx782c26e4c19acffb, It's a fixed value. You can capture the interface of web wechat by yourself

@zhongqin0820
Copy link
Author

Well, thanks to your reply but I am still confused. Since I don't have a valid account to verify it, I need to close this issue. All in all, really appreciate your reply.

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

No branches or pull requests

2 participants