Sebagian Tidak Bisa Diaksesshare-external
How to send Url using Whatsapp Meta API?
1

I'm trying to send a message which opens a given URL when we click on the button.

I've made a template as well on the meta official developers page, but its taking too long to send, approximately 50-60 seconds, so i want to go with something direct. I wrote this code but its giving "(#100) Unexpected key "title" on param "interactive['action']['buttons'][0]" this error. Anyone who can help me with the same ?

Here's what i tried

{ "messaging_product": "whatsapp", "to": "number", "type": "interactive", "interactive": { "type": "button", "header": { "type": "text", "text": "Hi " }, "body": { "text": "Some body text" }, "footer": { "text": "Some Footer Text" }, "action": { "buttons": [ { "type": "url", "title": "Subscribe", "url": "https://example.com/subscribe" }, { "type": "reply", "reply": { "id": "Need_assistance", "title": "Above Url is not working" } } ] } } }

Awanish
Ditanyakan sekitar 4 bulan yang lalu
Jawaban yang Dipilih
1

Try following this example: https://developers.facebook.com/docs/whatsapp/cloud-api/messages/interactive-cta-url-messages

17 Juli pukul 03.09
Bar