7 ms·
A simple WeChat client written in Python
- AbenezerMamo 9y agoThis is cool, thanks.
- justdoit0823 9y agoHave fun.
- liotier 9y agoDo the WeChat TOS explicitly allow third-party clients ?
- xiaq 9y agoI don’t think it does. Third party clients are not entirely banned, but will get random logouts from time to time, making it more painful to use. A little background here: WeChat has the concept of “master device” and “slave device”. Master device must be a mobile client, and signing in from a slave device involves scanning a QR code from the master device. So logging in cannot be automated (barring mobile phone emulators). This, in combination with random logouts when the server thinks you are using a 3rd party API, makes such clients pretty painful to use.
- shalmanese 9y agoI get random logouts using the official OSX WeChat client as well.
- justdoit0823 9y agoThis is a limitation of wechat's login system, which doesn't allow multiple clients are online at the same time.
- shalmanese 9y agoI only have my phone and my laptop.
- justdoit0823 9y agoYour WeChat macOS client on laptop is conflict with this wechat client. And you can only login in a single client.
- erikb 9y agoChina? TOS? I don't think a Python client is against the government, so...
- justdoit0823 9y agoNot the government, but the WeChat team.
- Sean1708 9y agoDefinitely didn't spend 5 minutes wondering why WeeChat[0] even needed a client. [0]: https://en.wikipedia.org/wiki/WeeChat https://en.wikipedia.org/wiki/WeeChat
- NedIsakoff 9y agoWeChat, not WeeChat https://en.wikipedia.org/wiki/WeChat https://en.wikipedia.org/wiki/WeChat
- justdoit0823 9y agoYes, it's the most popular mobile app in china.
- deleted 9y ago[deleted]
- ihsw2 9y agoThe meat-and-potatoes is the WeChatAPI class, found here: https://github.com/justdoit0823/pywxclient/blob/master/pywxclient/core/api.py#L50 https://github.com/justdoit0823/pywxclient/blob/master/pywxc...
- cttet 9y agoHow does it compare to itchat?
- justdoit0823 9y agoThis client is more easy and convenient to integrate in your project. By supporting different interfaces, you can compose them to do anything you like.