Hello,

I took the "twoleggedtwitter.php" example file and added the following
two lines:

   $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
"status=Test");
   $result = $request->doRequest();

However, when I execute it, I get:
Exception:  Request failed with code 401:  {"request":"/statuses/
update.json","error":"Invalid / expired Token"}

Can someone help me?  What am I doing wrong?

-- 
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?hl=en

Reply via email to