Twitter class by Tijs Verkoyen
I am trying to use this class http://classes.verkoyen.eu/twitter/ to update status on twitter, but I am getting this error:
/statuses/update.xml Could n开发者_开发百科ot authenticate you.
My code is just the following, I am using the latest version of the class (1.0.5)
<?php
include "twitter.php";
$twit = new Twitter("username","password");
$twit->updateStatus("Testing");
?>
Have you tried disabling safe_mode in your php.ini file?
safe_mode off
精彩评论