PHP code example of phpackage / textobit
1. Go to this page and download the library: Download phpackage/textobit library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
phpackage / textobit example snippets
n = 'ThisIsNotAValidToken';
$massMessage = \Phpackage\TextoBit\Api\MassMessage::fromToken($token);
$addr = '573216549870';
$cont = 'Lorem ipsum dolor sit amet.';
$massMessage->addRawMessage($addr, $cont);
$response = $massMessage->send();