Twilio Error : Authenticate -
hello developers using twilio api , purchased number.
i have created secure ssl site uploaded following code. show following error
error : authenticate
<?php // include twilio php library require 'services/twilio.php'; // twilio rest api version $version = '2010-04-01'; // set our accountsid , authtoken $sid = 'myworkingsid'; $token = 'myworkingauthtoken'; // instantiate new twilio rest client $client = new services_twilio($sid, $token, $version); try { // recent calls foreach ($client->account->calls $call) { echo "call $call->from $call->to @ $call->start_time of length $call->duration"; } } catch (exception $e) { echo 'error: ' . $e->getmessage(); }
kindly me in issue
Comments
Post a Comment