Posts tagged with whatsapp

I have registered 2 numbers and it's connected. The problem is, I wanted to use our own number not a test number on this API Call

https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/messages {     "messaging_product": "whatsapp",     "to": "{{Recipient-Phone-Number}}",     "type": "template",     "template": {         "name": "hello_world",         "language": {             "code": "en_US"         }     } } 

I have successfully sent the message by the test number. My question is how to use our own number?

From the app dashboard, I have checked the production number is zero but on the WhatsApp business manager I have 3 numbers, 1 for testing and 2 is should be act as the production number. I have 2 waba ID and pretty sure I use the correct one.

When trying to

https://graph.facebook.com/{{Version}}/{{WABA-ID}}/phone_numbers {     "error": {         "message": "Unsupported get request. Object with ID '*****' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",         "type": "GraphMethodException",         "code": 100,         "error_subcode": 33,         "fbtrace_id": "Ac5S6tqiApK**l1Y_t4nv"     } } 

Does it require BSP to use my Own Number? How to get the phone-number-id?

Ps. My 2 other numbers are already connected with messagebird and it can send messages successfully.

https://graph.facebook.com/v17.0/{{Phone-Number-ID}}/messages

Headers contains Authentication token

passing json body:

{   "messaging_product": "whatsapp",    "recipient_type": "individual",   "to": "{{Recipient-Phone-Number}}",   "type": "template",   "template": {     "name": "ticket_confirmation",     "language": {       "code": "en"     },     "components": [       {         "type": "header",         "parameters": [           {             "type": "image",             "image": {               "link": "https://link.png"             }           }         ]       },       {         "type": "body",         "parameters": [           {             "type": "text",             "text": "xyz"           },           {             "type": "text",             "text": "event name"           },         {             "type": "text",             "text": "2"           },         {             "type": "text",             "text": "ticketname"         },         {                    "type": "date_time",             "date_time": {               "fallback_value": "May 10, 2023"             }         },         {                "type": "text",             "text": "18:30 - 23:30"         },         {                "type": "text",             "text": "location"         },           {             "type": "currency",             "currency": {               "fallback_value": "value",               "code": "INR",               "amount_1000": 2100630             }           }         ]       }     ]   } } 

I am getting this in response

"messages": [     {         "id": "wamid.HBgMOTE3MDQyMjY2ODExFQIAERgSQkQ0MDMyRTYyNTdBNUJGM0M0AA=="     } ] 

I am hitting this API to send my message templates to the user who have purchased tickets on my platform but the message are going after 30mins(before i was getting the message withing secs.

We have a verified business in Meta and have Whatsapp integration working with webhook. Recently, we received a request from another business "Business A". They ask us to manage a whatsapp account in their representation giving us the phone number. They want to send messages via API and receive responses using webhook integration. The problem is that we need to use the name "Business A" as the display name in whatsapp, and meta doesn't allowed us to use that name because it has no relationship with our business. What can we do to use the name? Is there a way to verify that we are working with this "business A" and verify the number? I believe this is a very simple problem, but i can't find a tutorial or something to achieve this. Thank you in advance

We tried to register "Business A" as a new business, but they ask us for internal information about business A so we can't do that.

I am using Whatsapp's Business API through Meta's Graph API. One of my end user claimed he didn't receive a business-initiated message however on my end I received (through webhooks) both sent and delivered confirmation.

I then gave him the chatbot's number and when he tried to send a text, he was prompted to accept Whatsapp's Chatbot Privacy Policy (or something like that).

So are we not able to start business-initiated conversations to users that never had prior interaction with a chatbot?

Hey There Developers I am Trying to Integrate What's App Cloud Api from Meta for Developers Console and I am trying to Retrieve The Messages Templates using the api's .Reading it from there documentation i had created the api to retrive the templates but it shows me this error

"error": {         "message": "(#100) Tried accessing nonexisting field (message_templates) on node type (WhatsAppBusinessPhoneNumber)",         "type": "OAuthException",         "code": 100,         "fbtrace_id": "AHUox6aJYuhq3S7NnNDSE03"     } 

It would be a great help if you can help me solve this problem I have been Researching on the same for over a week now .....Thank You in advance

I am looking this api to retrieve all my available templates on the developers console
Meta For Developers