Twitter GEM : Streaming API / Unable to connect
1
Not solved Solved
about 1 year 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 = Twitter::Streaming::Client.new 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

Cancel
Submit your answer