tags:

views:

134

answers:

2

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 not 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");
?>
A: 

Have you tried disabling safe_mode in your php.ini file?

safe_mode off
zaf
safe mode is already disabled
Tim
A: 

(Obviously) the username and password values do actually work on the Twitter website?

Dead account
Yes if I copy and paste the login from the script to the site it logs me in fine.
Tim