The users of my app authenticate with OAuth and everything seems to work fine for a few requests to the API but after some number of them it starts to respond with:
Twitter::Unauthorized: GET https://api.twitter.com/1/statuses/user_timeline.json?screen_name=%40nyphil: 401: Invalid / expired Token
It’s certainly not hammering the API and since some number of the requests complete successfully, I’m at a loss as to why this is occurring. I’m using the Twitter gem.