Many times, we want to monitor some of the latest information and be able to see it on WeChat as soon as possible. Now there are many message push tools in this area, such as wxpusher, Pushplus, server rice, server sauce, etc.:
pushplus: The free account is limited to 200 requests per day, and can receive up to 5 requests within 1 minute, and the excess requests will not be pushed. For the same content, limit sending 3 within 1 hour
Server meal: a single account is limited to 100 requests per day
wxpusher: A single WeChat user can receive up to 500 messages a day
Server Sauce: The new version of the free account can receive up to 5 messages a day
The following takes wxpusher as an example to illustrate how to make a WeChat robot for information push.
Preferred at wxpusher site
https://wxpusher.zjiecode.com register an account,
then create an application
After the application is created successfully, you will get an apptoken
Click User Management, User List, you can see your uid, copy and save;
Click Application Management, follow the application, and scan the QR code with your own WeChat
Then, enter the prompt word in ChatGPT:
Write a piece of Python code and use WxPusher to send a WeChat message:
My APP_TOKEN is:
The UIDs are:
The WeChat content to be sent is: The stock price limit is up!
After the program runs, you can see the push on WeChat:
have to be aware of is
WxPusher pushes real-time messages, which are relatively time-sensitive. After the expiration, the messages will be worthless. Currently, WxPusher will keep 7 days of data for you. After 7 days, it will no longer provide reliability guarantees, and will clean up historical messages from time to time;
The data length (number of characters) limit of a single message is: content<40000;summary<100;url<400;
The maximum number of UIDs sent in a single message is <2000, and the maximum number of topicIds sent in a single message is <5;
A single WeChat user, that is, a single UID, can receive up to 500 messages per day.