微信机器人预警接口

293 阅读1分钟

实现简单的微信预警,http api发信息通知到微信某人/获取某群

接入步骤

1. 加好友

image.png

2. 好友通过之后,查询自己的wx_id

curl 'myip.fun:5008/getwxid?nam…' 返回 {"message":[{"name":"2021","wxid":"fuhanxy"}]}

3. 发送信息到具体微信

curl 'myip.fun:5008/sendMsg?wx_…'

发送到某群并且@某人,实现每日自动报新闻机器人,RSS推送,加微信私聊