Closed jordan-wright closed 9 years ago
Turns out, the date on my machine was wrong, causing the 401.
That's what my life is, now :disappointed:
Keep up the great library!
Thank you so much! This was exactly my problem.:smiley:
Thanks from me too! I'm not sure if I would have caught that.
I'm trying to use Logstash's
twitter
input, which utilizes this library to connect to the streaming API. I am getting aTwitter::Error::Unauthorized
error, even though I am sure I am using valid credentials.Here's a stack trace:
Here's a snippet of the affected code:
I have used Twitter's OAuth Tool to check the validity of my credentials and everything checks out fine. Do you know of any issues in this library that might be causing this? Here are the gems I have installed (I wasn't sure which were significant, so I included all used by Logstash):