Take the 2-minute tour ×  This simple code doesnt work... can
anyone help me find the problem... it gives me 500 internal
server error  include "../twitter-async/EpiCurl.php"; include
"../twitter-async/EpiOAuth.php"; include "../twitter-
async/EpiTwitter.php"; function init($oauth_token = null,
$oauth_token_secret = null)         return new EpiTwitter(TWITTE
R_CONSUMER_KEY,TWITTER_CONSUMER_SECRET,$oauth_token,$oauth_token
_secret);  $twitter = init();      echo "success";
<title>Untitled Document</title>  share|improve this question
Well, there's a typo in your init
function(TWITTER_CONSUER_SECRET vs TWITTER_CONSU M ER_SECRET),
but I don't think that will cause a 500 error. –  Sean Walsh May
21 '11 at 3:46 yup I did that still doesnt work –  koool May 21
'11 at 3:51 Create a file that has the contents <?php phpinfo();
?> and put it in the same place as the file you are receiving
the 500 error on. If you still receive a 500 error when you hit
that file, you'll know that something is wrong with the server
config a