Posts under category Meta & Facebook

I'm new to the meta business platform. I'm currently setting up a whatsapp business account to send messages programaticaly. I'm able to use the api to send messages and make use of templates. The problem is that the messages are being delivered, but with a delay of over 30 minutes.

The api endpoint I'm using is https://graph.facebook.com/v17.0/{{ _.phoneId }}/messages

Is there any settings required to make them be delivered as fast as possible?

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.