[twitter-dev] Streaming API 420 error

2011-04-22 Thread Josiah Carlson
Hello, We've been using some of the streaming API (specifically /statuses/filter.json and occasionally /statuses/sample.json), and recently I have noticed that we are seeing only 420 errors from our auth tokens for all of our dev, staging, and prod applications. Two sets of those auth tokens

[twitter-dev] Re: Streaming API 420 error

2011-04-22 Thread Josiah Carlson
A small update... After letting it rest over night, I was able to get /statuses/filter.json to work on my office machine using any set of keys, but attempting to run with any keys on ec2 gets us a 420. Immediately after the 420 in ec2, I can run without issue in the office. I've tried a few of

[twitter-dev] 406 on streaming filter calls

2011-04-22 Thread Josiah Carlson
Okay, fresh, new interesting error code. Content: POST /1/statuses/filter.json HTTP/1.1 Host: stream.twitter.com Accept-Encoding: identity Content-Length: 30 Authorization: OAuth realm=http://stream.twitter.com/1/statuses/filter.json;, oauth_consumer_key=...,

[twitter-dev] Re: 406 on streaming filter calls

2011-04-22 Thread Josiah Carlson
To follow up: I switched to a GET request, despite the docs saying Use a POST request header parameter to avoid long URLs.. This seems to have resolved the issue. Why change now? - Josiah -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:

Re: [twitter-dev] Streaming API limits...

2011-02-27 Thread Josiah Carlson
, 2011 at 1:08 PM, Josiah Carlson josiah@gmail.comwrote: Now that I've got OAuth with statuses/follow.json working, I've been working through building a small part of our app. Part of the streaming API docs state that only one connection is allowed (reasonable). Upon making a second

[twitter-dev] Streaming API limits...

2011-02-24 Thread Josiah Carlson
Now that I've got OAuth with statuses/follow.json working, I've been working through building a small part of our app. Part of the streaming API docs state that only one connection is allowed (reasonable). Upon making a second connection, the first no longer receives any data (not even

Re: [twitter-dev] Re: /statuses/filter.json returns 401 with OAuth

2011-02-23 Thread Josiah Carlson
themattharris, Thank you for the response. I can only (easily) test quoting of the body after signing, and that results in OAuth authorization failure. Which client library do you use? I'd like to trace though a known-working library to figure out where the one I am using is failing. Thank

Re: [twitter-dev] Re: /statuses/filter.json returns 401 with OAuth

2011-02-23 Thread Josiah Carlson
Looking at 3rd party libraries, I realized how ... nasty their auth flows were, so I walked through the pieces of: http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/ and created my own simple OAuth function with the proper encodings, escapes, etc. That got me to

[twitter-dev] Re: /statuses/filter.json returns 401 with OAuth

2011-02-22 Thread Josiah Carlson
Does no one else use /statuses/filter.json? Has no one gotten it to work with OAuth? - Josiah -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

[twitter-dev] /statuses/filter.json returns 401 with OAuth

2011-02-17 Thread Josiah Carlson
Long story short: I can access the REST API using OAuth without issue. I can access the streaming API using Basic Auth without issue. When I try to access the streaming API using OAuth, I get a 401 error. I filed a bug http://goo.gl/nXYg2, but was directed here and to the IRC channel. I posted