Gnip 2.0 replay error is not passed
alonisser opened this issue · 1 comments
When I get a 406 http error from replay stream, I only get the http error object
While the replay docs Specify that I'm expected to get
Will contain a JSON message indicating the issue -- e.g. "This connection requires compression. To enable compression, send an 'Accept-Encoding: gzip' header in your request and be ready to uncompress the stream as it is read on the client end." or "Invalid date for query parameter 'toDate'. Can't ask for tweets from within the past 30 minutes."
I'll be happy to help with a PR if you can point me in the right direction
I'd be happy to point you in the right direction if I knew the direction, lol. I cannot maintain this lib anymore since I don't even have a Gnip account to test.
If you send a PR I'll review it.