Closed neolium closed 10 months ago
Hi @neolium the lib is working right. Please, check your code, maybe is wrong ^^
Thanks.
<?php
// Require the Composer autoloader.
require 'vendor/autoload.php';
use Netflie\WhatsAppCloudApi\WhatsAppCloudApi;
// Instantiate the WhatsAppCloudApi super class.
$whatsapp_cloud_api = new WhatsAppCloudApi([
'from_phone_number_id' => '113670928384135',
'access_token' => '',
]);
/*
echo "<pre>";
print_r($whatsapp_cloud_api);
echo "</pre>";
*/
$whatsapp_cloud_api->sendTextMessage('41', 'Hey there!');
?>
Nothing special tho 👯 When i try to use the API from WA-Business via Curl it works and i only get one message...
Hi Thanks for this nice lib. Sadly since moving from test to prod and all messages i send are sent twice...
Does anyone how to fix this issue?
Thanks in advance.
Kind regards