Giter Site home page Giter Site logo

meteoross / wechat-bc Goto Github PK

View Code? Open in Web Editor NEW
174.0 1.0 17.0 27.81 MB

类似开发公众号一样,开发个人微信号

License: MIT License

Java 100.00%
wechat wechat-bot wechat-sdk wechat-api wechat-bot-skeleton wechat-framework bot wechat-client

wechat-bc's Issues

[插件提交]

你可以在此提交你编写的插件,我会将他们加到项目的主页里

付费合作

我需要找个技术合作,需要大量部署这种机器人,联系我微信xforward7

AppMsg 类型消息中 文档类型的文件如何下载

Screenshot 2024-03-26 at 13 49 10 我查阅了itchat中的python实现,接口调试不通,总是返回空结果?
我理解 /webwxgetmedia 这个接口还是可以用的,但是我用法不对,大佬能给点建议吗
另:我观察content字段中是文件的cdn描述信息,是否也可以尝试直接读取cdn(参考:https://github.com/wechaty/wechaty-puppet-padpro/blob/master/src/manager/cdn-manager.ts#L316)

关于主动推送的扩展性

目前看到现在项目是可以通过插件的方式对监听到的消息进行处理,请教一下那么怎么优雅的对外提供发送消息的接口,使得三方应用可以根据好友用户名或者群名主动去推送消息给用户或者群,而不是用户通过发微信消息触发回复,比如群发公告消息给好友,关于这块作者是怎么考虑的。

关于联系人列表

联系人有700多个,但是从联系人接口获取到的联系人列表只有三百多个,是否还有其他方式

SSLHandshakeException启动报错

当前版本: v1.1.6 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alert.createSSLException(Alert.java:131) at sun.security.ssl.TransportContext.fatal(TransportContext.java:353) at sun.security.ssl.TransportContext.fatal(TransportContext.java:296) at sun.security.ssl.TransportContext.fatal(TransportContext.java:291) at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:652) at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:471) at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:367) at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:376) at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444) at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422) at sun.security.ssl.TransportContext.dispatch(TransportContext.java:183) at sun.security.ssl.SSLTransport.decode(SSLTransport.java:154) at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1279) at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1188) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373) at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:336) at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:300) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:185) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88) at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229) at okhttp3.RealCall.execute(RealCall.java:81) at com.meteor.wechatbc.util.VersionCheck.check(VersionCheck.java:24) at com.meteor.wechatbc.launch.Launch.infoLogo(Launch.java:30) at com.meteor.wechatbc.launch.Launch.login(Launch.java:40) at com.meteor.wechatbc.Main.start(Main.java:45) at com.meteor.wechatbc.Main.main0(Main.java:35) at com.meteor.wechatbc.Main.main(Main.java:22) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) at sun.security.validator.Validator.validate(Validator.java:271) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:312) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:221) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:128) at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:636) ... 37 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) ... 43 more

为啥要开通微信支付呢。

2024-05-26 00:40:56 [[ERROR]] [BASE-REQUEST] : 登录失败:你需要开通微信支付,才可继续操作。 CODE: 1203
Exception in thread "WECHATBC_MAIN" java.lang.RuntimeException

请问是否可以一次启动多个微信。

我现在实例化多个WeChatClient进行登录,但是前一个微信会出现
2024-03-25 18:49:00 [pool-19-thread-1] ERROR SYNC-CHECK

  • 已登出微信
    2024-03-25 18:49:00 [pool-19-thread-1] INFO
  • 请尝试重新登录...
    2024-03-25 18:49:00 [pool-19-thread-1] ERROR SYNC-CHECK
  • 已登出微信
    2024-03-25 18:49:00 [pool-19-thread-1] INFO
  • 请尝试重新登录...
    2024-03-25 18:49:00 [pool-19-thread-1] ERROR SYNC-CHECK
  • 已登出微信
    2024-03-25 18:49:00 [pool-19-thread-1] INFO
  • 请尝试重新登录...
    2024-03-25 18:49:00 [pool-19-thread-1] ERROR SYNC-CHECK
  • 已登出微信
  • ......
  • 无限循环的情况。

群聊

能获取到群里的所有人信息,和在群里@某人的接口吗

登录掉线

用docker部署,扫码登录后,1天或者3天之内就掉线了,需要重新扫码登录,这个有什么好的解决办法吗

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.