php to twitter error message

Hi,
am trying to send a message to a twitter account using php ( as part of a website ). Am using a library(?) as in http://code.google.com/p/twitter-php/. Not sure exactly how to set this all up ( very new to php ).

But am getting Fatal error: Uncaught exception ‘TwitterException’ with message ‘Server error #410’ in Z:\Inetpub\vhosts’website address’\httpdocs\php\OAuth\twitter.class.php:238 Stack trace: #0 Z:\Inetpub\vhosts’website address’\httpdocs\php\OAuth\twitter.class.php(104): Twitter->request(‘statuses/update’, Array) #1 Z:\Inetpub\vhosts\lutonchurchestogether.org.uk\httpdocs\php\tweet.php(21): Twitter->send(‘I am fine’) #2 {main} thrown in Z:\Inetpub\vhosts’website address’\httpdocs\php\OAuth\twitter.class.php on line 238.
‘website address’ is my website ( not sure if I should give details on an open forum.
Any help would be appreciated.

All the best,

Tim

Make sure you’re using…

https://api.twitter.com/1.1/

The author of the script said that will happen if you’re using an older version of the API.

Sponsor our Newsletter | Privacy Policy | Terms of Service