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

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -