[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread Thai Pangsakulyanont
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

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
* please read my comments inside the * i store the token and token secret and i checked and they are the same here is what i do step by step until it doesnt work. first i ask for authorization and get it with a PIN. then the user enters the PIN and gets the information. first i call for the

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread Thai Pangsakulyanont
Everything looks normal to me, so I have no idea why it didn't work. When it said Unauthorized, did the API say anything else about it? Like incorrect signature, or something like that. On Oct 1, 5:05 pm, eMailaya a...@emailaya.com wrote: * please read my comments inside the * i store the

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
the error is: http/1.1 401 unauthorized trying again (3rd time) to call the 2 calls again i succeed with getting the user's statuses but not his followees the fact that the oauth_token=X was different between the 2 first and last calls, is it ok? (each button press makes 2 calls sequentially, one

Re: [twitter-dev] Re: not authorized over and over again

2010-10-01 Thread Taylor Singletary
One issue with your implementation is that you are not using Twitter API URLs. Twitter API URLs have api.twitter.com as the domain and /1/ as the version before any resource. http://api.twitter.com/1/statuses/home_timeline.xml http://api.twitter.com/1/statuses/update.xml If you don't use those

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
thank you for your reply 1. my app is in read/write mode - i just double checked it - and updating a new twit fails for 401 unauthorized 2. i changed the url according to what you wrote: http://api.twitter.com/1/statuses/user_timeline/... and http://twitter.com/statuses/friends_timeline.xml

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
partial success!!! i managed to receive both the user's statuses and the followees statuses' ! the problem was that i was storing the wrong oauth_key, why did i manage to retrieve the user's statuses? i dont know but now it's ok. so why partial? because updating the status still gives me

[twitter-dev] Re: not authorized over and over again

2010-09-30 Thread eMailaya
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    

[twitter-dev] Re: not authorized over and over again

2010-09-29 Thread eMailaya
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 :=

[twitter-dev] Re: not authorized over and over again

2010-09-28 Thread eMailaya
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 :=