mispy-archive / twitter_ebooks

Better twitterbots for all your friends~
MIT License
972 stars 140 forks source link

"Invalid or expired token. (Twitter::Error::Unauthorized) #113

Open waz00t opened 8 years ago

waz00t commented 8 years ago

Everytime I try to pull my archive, or start my bot, it shoots back an invalid or expired token error.

I've regenerated my API tokens multiple times, triple checking the right ones are in the code. Not sure what's going on.

patr1ck commented 8 years ago

@waz00t Make sure you have a .ebooksrc file in your home directory that looks like this:

{
  "consumer_key": "",
  "consumer_secret": "",
  "oauth_token": "",
  "oauth_token_secret": ""
}

With appropriate values filled in, of course. That fixed this for me.