Open eviltwin opened 13 years ago
In the user stream documentation, there's a bullet point:
So it seems like we need to connect through https.
Do you have any plans to patch this sometime soon?
I tried working on this issue, but i couldnt make clientConn work with Https. What about using:
func Get and Post? http://golang.org/pkg/http/#Response.Get http://golang.org/pkg/http/#Response.Post
Hey guys,
I just committed a change that adds support for the Site Stream API using OAuth+SSL. I added a dependency to another go project, httplib, because the Go http client is pretty limited. My goal is to get rid of the basic Authentication in favor of OAuth+SSL.
Nice! :)
I'm getting connection timeouts when trying to use the library, even using just the example: dial tcp 128.242.250.183:80: connection timed out
This happens on the call to client.User(). Copying the userUrl and pasting it in a browser also results in a timeout. I noticed in the twitter docs that they list this url as https, which does result in a working connection and an auth challenge. I attempted naively changing the urls in the source code to https but this didn't didn't work either. I'd greatly appreciate some feedback/guidance on this.