Twitter GEM : Streaming API / Unable to connect
Not solved Solved
12 months ago

Hi Guys, I'm using "twitter Gem" Everything is working fine with the REST API But when I want to use the Streaming API :

I'm initializing like this (I have removed all the keys)

client = do |config| config.consumerkey = "" config.consumersecret = "" config.accesstoken = "" config.accesstoken_secret = "" end

then calling for example client.sample()

I got this error : `onheaderscomplete': Twitter::Error::Unauthorized

I was unable to find anything online. If there is some Twitter Gem Gourou here, help will be appreciate ;-) Thanks

Submit your answer