Ich versuche, eine Vorlage zu verwenden, die eine dynamische URL-Schaltfläche enthält, erhalte jedoch ständig die folgende Fehlermeldung:
{
"error":{
"message":"(#131008) Required parameter is missing",
"type":"OAuthException",
"code":131008,
"error_data":{
"messaging_product":"whatsapp",
"details":"buttons:utton at index 0 of type Url requires aparameter"
},
"fbtrace_id":"A5zKyCl8YbQvpCIT7mgmgtC"
}
}
Was fehlt mir?
Ich verwende PHP Curl, um die Nachricht zu senden.
Das Senden der hello_world-Standardvorlage ohne Parameter funktioniert einwandfrei.
Dies ist die Abfrage, die ich verwende:
{
"messaging_product": "whatsapp",
"to": "001555444555",
"type": "template",
"template": {
"name": "invitation",
"language": {
"code": "he"
}
},
"components": [
{
"type": "body"
},
{
"type": "button",
"sub_type": "url",
"index": 0,
"parameters": [
{
"type": "text",
"text": "1234567"
}
]
}
]
}
WhatsApp-API, dynamische URL-Schaltfläche, Parameter fehlt ⇐ Php
-
- Similar Topics
- Replies
- Views
- Last post