Hi Tom, Yes I did fill in those values correctly.
On Sep 6, 5:44 pm, Tom van der Woerdt <[email protected]> wrote: > 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 > secret? > > Tom -- 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
