I'm trying to use the latest twitter-async libraries and can't get
this to work at all. I've registered an application and have the
consumer key and consumer secret and am using some simple code:

include 'epitwitter/EpiOAuth.php';
include 'epitwitter/EpiCurl.php';
include 'epitwitter/EpiTwitter.php';

$twit = new EpiTwitter($consumer_key, $consumer_secret);
$resp = $twit->post_statusesUpdate(array('status' => 'foo'));

And I get this:
PHP Fatal error:  Uncaught exception
'EpiTwitterNotAuthorizedException' with message '{"request":"/1/
statuses/update.json","error":"Invalid / expired Token"}' in [....]:

I was using an oauth token and secret which twitter gave me before but
that is unusable now..

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: 

Reply via email to