I found an issue using the "server" example included in Net::Twitter
Every time someone connected with the server, it re-used the same OAuth
token, until they actually signed up with the app. Well, not everyone,
once they've gone to the authorization URL, actually signs up, so fairly
quickly, the token becomes stale, and then no-one can sign up. My fault
for having an app no-one wants to use, perhaps...
It's possible it was just me, but in case anyone else has the same
issue, I've posted an updated example at
It exists only to authenticate (I've taken out the "last tweet"
subroutine as the cookies are now gone), and to add the access tokens to
a MySQL DB - Obviously, it can be updated to include any storage method