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

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

2011-02-23 Thread Matt Harris
Hey Josiah, Glad you got it working. I have an OAuth library I put together which you might want to look at. It's in PHP and shows the OAuth signing process. It also supports multipart uploads and the Streaming API. You can find it on github: https://github.com/themattharris/tmhOAuth Best,

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

2011-02-22 Thread Matt Harris
Hi Josiah, OAuth is working fine in my tests of the Streaming API. If you are getting errors double check you are encoding the commas correctly in your basestring. For example, if your track terms were: track=twitter,twitter api,twitterapi The basestring should include: