Access to Streaming API

api

#1

I am trying to access the streaming API, but I cannot properly connect.

This probably has to do with the proxy that I am using - I have created access to https://stream.twitter.com which I presumed was the only one I needed.
However, I still cannot establish connection, so I was wondering which other sites I should create connection to- are the following the only ones I would have to create access to?

https://api.twitter.com
https://upload.twitter.com
https://userstream.twitter.com
https://sitestream.twitter.com


#2

What are you trying to do, exactly?

The public streaming API is at https://stream.twitter.com and user streams are on https://usersteam.twitter.com - the other URLs you list are not valid for the public streaming API (api and upload are for REST calls, and site streams are not available).

What error are you seeing?


#3

Thanks Andy.

What I am trying to do is ingest the streaming API, via a proxy I need to use for the environment I work from.

In terms of error, I am receiving the following:

Unable to tunnel through proxy. Proxy returns “HTTP/1.1 403 Forbidden”


#4

To be honest I’ve never attempted to connect via a tunnel, so I couldn’t say what the problem might be here exactly. Are you getting anything at all back from the Twitter side, or is that response from the proxy? Are you able to authenticate with the Twitter API? actually, I realise now that I misspoke in my previous post, and you’d need access to api.twitter.com to do that part…