Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-29 Thread Mark McBride
This likely wasn't due to adding the source parameter. It was more likely but due to a bug I had in the streaming OAuth implementation. Java's URLEncoder converts spaes to '+' instead of '%20'. This got fixed yesterday. ---Mark http://twitter.com/mccv On Mon, Jun 28, 2010 at 5:08 PM,

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-28 Thread Taylor Singletary
Wil: Can you retrieve the signature base string (again, from your current work) from your library when attempting the call that returns 401? There must be something minor going amiss there with this parameter for some reason. Thanks, Taylor On Sat, Jun 26, 2010 at 12:08 PM, John Kalucki

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-28 Thread Taylor Singletary
Great! Let me know if you still need assistance. Taylor On Mon, Jun 28, 2010 at 8:10 AM, Wil willi...@gmail.com wrote: The thing wasn't including the POST parameters in the signing! I think I got it! On Jun 28, 10:54 pm, Wil willi...@gmail.com wrote: Ah wait, I ran a couple more tests

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-28 Thread Taylor Singletary
Let's start from a common point. By using the same inputs, we can try and meet in the middle with exactly the same signature, signature base string, and authorization header. Using the following values: Consumer Key: TwitterConsumerKey Consumer Secret: TwitterConsumerSecret Access Token:

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-28 Thread Taylor Singletary
Hi Wil, Did some more tests. Why are you passing source in this context? I don't recall this being an operator for the Streaming API. If you're passing it as some kind of analogue to a source parameter you'd pass in basic auth on tweet creation, it's unnecessary here unless there's some other use

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-28 Thread Matt Harris
Wil, Fantastic. So glad you got it working, and thanks for sharing the solution which worked for you. Matt On Mon, Jun 28, 2010 at 10:10 AM, Wil willi...@gmail.com wrote: Hi Taylor, Finally! It now works. TweetSharp includes the source parameter by default on all requests (I think). Thus,

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-26 Thread John Kalucki
An invalid delimited parameter is ignored, and won't cause a 401. On Sat, Jun 26, 2010 at 2:04 AM, Wil willi...@gmail.com wrote: Hi, @John: I removed the delimited=1 parameter and it still gave me 401's. @Taylor: I checked my system clock and does not differ from the server time by more

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-25 Thread Taylor Singletary
Wil, Does your OAuth code work against other aspects of the Twitter API? Can you verify if your system's clock is within 5 minutes or so of the times returned by our system? (You can see the current server time in an HTTP header of any of our responses). Are you sure that your code is actually

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-24 Thread John Kalucki
Aside from the oAuth issue, which others can address, the only valid delimited value is length. -John On Thu, Jun 24, 2010 at 7:58 AM, Wil willi...@gmail.com wrote: I'm getting this response: HTTP/1.1 401 Unauthorized Content-Length: 1296 Cache-Control: must-revalidate,no-cache,no-store

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-24 Thread Taylor Singletary
Hi Wil, I can help you with the OAuth component of this. Can you share your signature base string for the request? Here's an example of a few of the steps of a functioning OAuth request against this endpoint: POST body source=softwarenamedelimited=1follow=156934710 Signature Base String

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-06-22 Thread John Kalucki
OAuth should work fine on stream.twitter.com -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Tue, Jun 22, 2010 at 10:00 AM, Wil willi...@gmail.com wrote: I'm a bit dumbfounded here... I've been trying to login to stream.twitter.com using OAuth (particularly, I've

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-24 Thread Mark McBride
OAuth is now enabled on stream.twitter.com. I'll also send a note out to the announce list ---Mark http://twitter.com/mccv On Mon, May 24, 2010 at 12:30 PM, Aaron Rankin aran...@gmail.com wrote: Hi, Is there an ETA for enabling oauth on stream.twitter.com? Thanks, Aaron On May

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-24 Thread 140dev
Does this mean that the streaming API will also make the switch from basic authentication to OAuth at the end of June? On Mon, May 24, 2010 at 4:50 PM, Mark McBride mmcbr...@twitter.com wrote: OAuth is now enabled on stream.twitter.com.  I'll also send a note out to the announce list  

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-24 Thread John Kalucki
We haven't announced our plans for streaming and oAuth, beyond stating that User Streams will only be on oAuth. On Mon, May 24, 2010 at 1:57 PM, 140dev 140...@gmail.com wrote: Does this mean that the streaming API will also make the switch from basic authentication to OAuth at the end of

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-24 Thread Zac Bowling
The format is fairly simple and almost self explanatory. Check out this for a working sample: http://github.com/zbowling/earlybird Zac Bowling On Mon, May 24, 2010 at 7:23 PM, Jonathon Hill jhill9...@gmail.com wrote: Hey we need documentation! Jonathon On May 24, 4:50 pm, Mark McBride

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-13 Thread John Kalucki
OAuth is not enabled on stream.twitter.com. You can try on chirpstream.twitter.com. On Thu, May 13, 2010 at 10:53 AM, Lucas Vickers lucasvick...@gmail.com wrote: I am writing my own c++ based OAuth library.  I know there is liboauth but I like to do things myself to learn. Anyhow I am trying

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-13 Thread Lucas Vickers
Excellent, it works! thanks On Thu, May 13, 2010 at 2:11 PM, John Kalucki j...@twitter.com wrote: OAuth is not enabled on stream.twitter.com. You can try on chirpstream.twitter.com. On Thu, May 13, 2010 at 10:53 AM, Lucas Vickers lucasvick...@gmail.com wrote: I am writing my own c++