I get the 500 internal server error


#1

i get the internl server error when i try to run this code.

<?php //After you have successfully registered an application on twitter, enter the details below. //enter your consumer key $consumerKey = 'gzLS3czxLD7xHTA'; //enter your consumer secret $consumerSecret = 'E1Iyu5ZcBFyctMyyczu3WZJI'; //your oAuth Token $oAuthToken = '127x8zxcrDxJ7x7iP70AUhZ4M'; //your oAuthSecret $oAuthSecret = 'lCAG2x3TssaAyrULzxcsDCHRaPsnawY'; require_once('twitteroauth.php'); // create a new instance $tweet = new TwitterOAuth($consumerKey, $consumerSecret, $oAuthToken, $oAuthSecret); //send a tweet $tweet->post('statuses/update', array('status' => 'This is my status Update')); ?>

#2

perhaps its about your key permision on your host…