On 9/6/10 10:57 PM, Rajendra Singh wrote:
> 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?

Did you fill in the consumer token and secret? And the user token and


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