whatsapp api:发送消息延迟

问题描述 投票:0回答:1

我已经创建了一个消息模板,它将被批准。当我发消息时

curl -i -X POST \
  https://graph.facebook.com/v18.0/210679105452960/messages \
  -H 'Authorization: Bearer token' \
  -H 'Content-Type: application/json' \
  -d '{ "messaging_product": "whatsapp", "to": "380630000000", "type": "template", "template": { "name": "sms_code_en", "language": { "code": "en" }, "components": [{"type": "body", "parameters": [{"type": "text", "text": "123123"}]}] } }'

30-40 秒后出现。但是当我从示例发送消息时

curl -i -X POST \
  https://graph.facebook.com/v18.0/210679105452960/messages \
  -H 'Authorization: Bearer token' \
  -H 'Content-Type: application/json' \
  -d '{ "messaging_product": "whatsapp", "to": "380630000000", "type": "template", "template": { "name": "hello_world", "language": { "code": "en_US" } } }'

来得很快,几秒钟。也许有人遇到过并且可以告诉这是怎么回事?

facebook whatsapp whatsapi
1个回答
0
投票

这个问题自 2023 年 7 月以来就一直存在,直到今天他们还没有解决这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.