Posts under category Facebook WhatsApp Business API

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

I'm having trouble in creating a WhatsApp Message template, using the WhatsApp Business API.

I already can send messages, delete template, etc.

Creating the message template is the only API implementation where I'm having some dificulties. This is the code that I'm using to create a template:


public static function CreateTemplate($templateName, $templateCat, $language, $components){     $businessaccountid = .....;     $token = ....;     $ch = curl_init();     $url = 'https://graph.facebook.com/v16.0/' . $businessaccountid . '/message_templates?allow_category_change=true&name=' . $templateName . '&category=' . $templateCat . '&language=' . $language . '&components=' . $components;     //echo($url);     //curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);     //curl_setopt($ch, CURLOPT_VERBOSE , TRUE);     curl_setopt($ch, CURLOPT_URL, $url);     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);     curl_setopt($ch, CURLOPT_POST, 1);     $headers = array();          $headers[] = 'Authorization: Bearer ' . $token ;     curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);               $result = curl_exec($ch);          if ($result === false) {         $result = curl_error($ch) . " - ".curl_errno($ch);              }else{         $resultDecode = json_decode($result);         if($resultDecode!=null){             $result = $resultDecode;         }         return($result);     }     curl_close($ch);      } 


And this is the content of the $url variable that is being used:

"https://graph.facebook.com/v16.0/....../message_templates?allow_category_change=true&name=compra_terminada&category=MARKETING&language=pt_PT&components=[{"type":"BODY","text":"Obrigado por comprar na nossa loja. Assim que o objecto for expedido, irá receber no seu email o numero de rastreamento da encomenda."},{"type":"FOOTER","text":"A minha empresa"}]" 

And this is error that it's returning from curl_error and curl_errno:

HTTP/2 stream 0 was not closed cleanly: Unknown error code (err 5) - 92 

I've already tried to use CURL_HTTP_VERSION_1_1 but with no success. The curl_exec($ch) returns a generic html page from Facebook saying:

Sorry, something went wrong. We're working on it and we'll get it fixed as soon as we can. 

What do I need to change in my code to create a WhatsApp Template Message?