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

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -