因此,如果您过去没有与某个号码聊天,请尝试使用 Whatsapp API URL 与该号码聊天:https://api.whatsapp.com/send?phone=XXXXXXXXXXXX 它给出错误“通过 url 共享的电话号码无效。”
因此,我们注意到所有聊天发送机器人都已停止在桌面上工作。
通常情况下,API 链接在桌面上运行得非常好,但在过去 4 天里,对于您过去没有聊天过的号码,它已停止工作。
更改为
https://web.whatsapp.com/send?phone=xxxxxxxxxxxx
添加消息
https://web.whatsapp.com/send?phone=xxxxxxxxxxxx&text=Hi!