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

not login warn #5

Closed
suntong opened this issue May 1, 2021 · 6 comments
Closed

not login warn #5

suntong opened this issue May 1, 2021 · 6 comments

Comments

@suntong
Copy link
Contributor

suntong commented May 1, 2021

Trying to use the main code from readme as is, the program will stop with

: 301 response missing Location header

Trying to use

bot := openwechat.DefaultBot(openwechat.Desktop)

the program will stop with

not login warn

Presumably coming from

https://github.com/eatMoreApple/openwechat/blob/e751e13afde16351b1e8c1d96a3b00b42d5e928e/items.go#L154

Any solution?

Thx

PS. On WX side, I did see that, for a moment, it says "Logged in from desktop".

@eatmoreapple
Copy link
Owner

That means your wx could not sign in with Desktop mode, please change another wx and try again.

@eatmoreapple
Copy link
Owner

visit https://wx.qq.com/ to confirm if your wx could sign in with

@suntong
Copy link
Contributor Author

suntong commented May 2, 2021

When visiting https://wx.qq.com/, I got:

<error><ret>1203</ret><message>为了你的帐号安全,此微信号不能登录网页微信。你可以使用Windows微信或Mac微信在电脑端登录。Windows微信下载地址:https://pc.weixin.qq.com Mac微信下载地址:https://mac.weixin.qq.com</message></error>

openwechat 不是可以突破网页版登录限制吗?

我理解“Desktop mode” 是仿真微信电脑端登录,对吗?

@eatmoreapple
Copy link
Owner

Desktop模式是微信在uos系统上推出的一款微信,其实就是网页版套个壳,它为了能让更多的用户登录,解除了部分用户在网页版的限制,你登录不上可能你的账号没有被开放,不好意思。

@suntong
Copy link
Contributor Author

suntong commented May 2, 2021

Oh, that's sad :(. Thanks!

@suntong suntong closed this as completed May 2, 2021
@eatmoreapple
Copy link
Owner

你可以试试最新代码,你这个问题是我之前的一个误解导致的疏漏,现在应该可以登录了。

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