[twitter-dev] Error when accessing some of the methods from Twitter4j

2010-09-09 Thread Ennio
I keep getting this error when I access some of the methods.

401:Authentication credentials were missing or incorrect. {"request":"/
1/account/verify_credentials.json","error":"Invalid / expired Token"}
null

If I call the test() method I get the result YES, but when I try
verifyCredentials() I get this error... also I can get the Twitter
trends and some other ones... but when I try the StatusUpdate() I get
the same error.

any help on this... I do have my StoredAccessToken, StoredAccessSecret

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


[twitter-dev] Need some help wiht Twitter and ColdFusion

2010-09-10 Thread Ennio
I'm trying to make a script that will automatic post from my blog to
my Twitter account.

I have everything registered on the Twitter and I have the
TwitterConsumerKey, TwitterConsumerSecret.

Here is my question:

If I run this script, it will leave my website go to Twitter and ask
if I want to accept the application or now.





















Everything work fine, and I can see the result.

I saved the AccessToken and AccessSecret for later use and when I use
this code it does not work:














I keep getting this error

401:Authentication credentials were missing or incorrect. {"request":"/
1/account/verify_credentials.json","error":"Invalid / expired Token"}
null

Thanks for the help... I'm new to OAuth

-- 
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