wechat-fanli-robot

Wechaty based wechat robot, according to tao password generated high commission link, and create a new tao password.

Functions of this project:

  • Automatically approve friend requests
  • Taobao coupon query

Realize wechat robot

The robot is based on wechaty. The official documentation has a very detailed tutorial, so I will not repeat it here. Since the wechat Web protocol has been abolished, iPad protocol needs to be adopted. Wechaty’s iPad protocol requires a token to start, and the token needs to be applied. Click Apply for token.

Coupon query preparation

Before realizing the function, it is necessary to make some preliminary preparations. I applied for becoming a promoter of Taobao Union and created a new media and promotion space. There was a pit here and there was no response when I added the promotion space.

After media is successfully created, you need to apply for APPKEY. After clicking “Apply”, you will jump to the open platform of Taobao, and then create an application. The new application does not have API permission, so you need to apply for it.

The specific implementation

  1. Parsing password scouring

  2. Create high commission referral links

  3. Generate cipher cipher

The specific interface parameters can be checked in the corresponding document. Although Taobao open platform later parsetao password and creates high-commission referral link API, one does not have permission and the other needs authorization. Therefore, tao password’s existing interface is adopted here.

The project address

Github