You have to make sure that `Twitterh.OAuth_token` and `Twitterh.OAuth_token_secret` stays same before and after restarting the application. Also, make sure that `oauth_timestamp` is up to date and `oauth_nonce` is unique each time you make a request.
On Oct 1, 6:05 am, eMailaya <a...@emailaya.com> wrote: > i could really use some help here > thanks > > On Sep 29, 7:05 pm, eMailaya <a...@emailaya.com> wrote: > > > > > > > > > any kind of help here will be appreciated > > thanks > > > On Sep 28, 8:06 pm, eMailaya <a...@emailaya.com> wrote: > > > > im doing the following: > > > > Twitterh.Key := <consumer key - hard coded> > > > Twitterh.Secret := <consumer secret - hard coded> > > > Twitterh.OAuth_token := > > > SettingsFile.ReadString('TWITTER','TOKEN',''); //saved from when i got > > > the authorization from the user > > > Twitterh.OAuth_token_secret := > > > SettingsFile.ReadString('TWITTER','TOKENSECRET',''); //saved from when > > > i got the authorization from the user > > > > after getting the authorization from the user i can do both getting > > > the statuses of the user and the followees but NOT updating the > > > status. > > > after "restart" of the application, at first try i do succeed to > > > receive the user's statuses but not his followees' , on second try > > > (without restart), i can do nothing and all for the same reason: not > > > authorized > > > > not sure i understood the other reply of re-hashing, hashing of what > > > exactly? the only place i do some "processing" is when i ask for > > > authorization from the user. i want it so once i have it, to not need > > > to re-ask it over and over again > > > > what am i missing? > > > thanks > > > > On Sep 28, 10:52 am, Tom van der Woerdt <i...@tvdw.eu> wrote: > > > > > If you save those four keys, you should have everything you need to > > > > restore the "session". > > > > > If this does not work for you, make sure that you save the keys > > > > properly. For example, you don't want to confuse oauth_token with > > > > oauth_consumer_key. > > > > > Tom > > > > > On 9/28/10 12:39 AM, eMailaya wrote: > > > > > > Im developing a desktop application. firstly, the user needs to > > > > > approve my app to let it access his account, enter the PIN code and > > > > > retrieve his statuses and his followees' statuses, all is working > > > > > fine. > > > > > > im closing my application and re-open it. now i already have his PIN > > > > > code so im skipping the authorization part. i put the oauth_key and > > > > > oauth_key_secret, the consumer_key and consumer_secret and ask for his > > > > > statuses, this one works but when i want to retrieve his followees > > > > > statuses i get "unauthorized" error. trying again causing the > > > > > "unauthorized" error also for his statuses. the only way to solve this > > > > > problem is to ask for an authorization everytime, this is annoying. > > > > > > also, i cant update the status for the same reason/error > > > > > any idea what am i missing? > > > > > 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