At the start of each session and even during seesions, twitter keeps asking me to authorize my application



I am in the process of creating my first twitter application, of which I have implemented thmOAuth to authorize it.
Initially I was directed to twitter where it asked me to authorize the application, as shown here:, and then redirected back to my application.

I thought that the application only needed to be authorized once?
However, every time I start a new session twitter asks me to authorize the app again.
This also often happens during a session… my application will stop working, and when I refresh the page, again twitters asks me to authorize the app.

Does anyone have any ideas?

Thanks in advance for any feedback,


It sounds like you’re not persisting your access token – how are you determining whether to go and fetch another token versus re-using the access token you already negotiated?