At the top of my page I have

include 'lib/EpiCurl.php';
include 'lib/EpiOAuth.php';
include 'lib/EpiTwitter.php';
include 'lib/secret.php';

further down I have

$twitter_message = "Offers update - " . date("g:i a:") . "
http://www.pub-rooms.co.uk/ask-rooms.php?bookrooms="; . $intid . " -
" . $ItemName . " " . $CTown;
$twitterObj = new EpiTwitter($consumer_key, $consumer_secret);

$twitterObj->setToken($oauth_token, $oauth_token_secret);
$update_status = $twitterObj->post_statusesUpdate(array('status' =>
$twitter_message));



My problem that it doesn't send anything to twitter and it doesn't
like

$tmp=$update_status->response;

php errors are turned off so I don't know why it doesn't like

$tmp=$update_status->response;

What am I doing wrong. At the moment I am totaly stuck. Am I right in
thinking that you can't send a message directly to twiiter anymore
from the admin of a website now that you have to use OAUTH?

Thanks

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to