Giter Site home page Giter Site logo

Comments (3)

nijiapeng avatar nijiapeng commented on September 8, 2024

我也出现了这个情况,请问你最终解决了这个问题了吗?

from wechat-api.

nijiapeng avatar nijiapeng commented on September 8, 2024

我遇到了三种情况。
情况一:我的小号不能登录网页版微信,提示“当前登录环境异常暂时不能登陆web微信。。。”,然后我把代码跑起来扫码时,就提示“你在其他地方登录了 WEB 版微信,再见”。
情况二:我的大号可以登录网页版微信,在跑代码扫码时,显示登录成功后,立马提示“你在手机上登出了微信,再见”。
情况三:我用朋友的微信号,在网页版和跑代码扫码都能正常登录。
所以,我觉得,如果微信号被禁止登录网页版了,那代码扫码估计也不会成功了。感觉只能换个号登录了。
一开始我不太理解,biezhi为啥要在发消息的接口那里,加了随机时长的睡眠,这么一个很影响用户体验的举措,于是,我就把睡眠给去掉了,这样消息就是秒回,很爽。过了一夜,第二天早上,我的小号就不能登录网页版微信了,所以,我觉得这样做可能是为了防止发送消息太快、太频繁,被腾讯认定为机器人而被禁止登录吧。
综上,根据实际情况,在发消息的接口那里还是得加上一定的睡眠时长,同时,机器人消息别发那么频繁。如果哪位大神有更好的解决方法,还望指教!

from wechat-api.

hellokaton avatar hellokaton commented on September 8, 2024

@nijiapeng #594 #598 这个无解了,其他语言的作者基本都不维护了。

from wechat-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.