voloko / twitter-stream

Twitter realtime API client
MIT License
233 stars 81 forks source link

Fixed 401 error with OAuth and the `:content` option #17

Closed ankane closed 8 years ago

ankane commented 12 years ago

The reader example fails with OAuth authentication.

The problem is the :content option and OAuth signature generation. The OAuth library must know all the parameters in the request to generate a valid signature, and the :content option makes this difficult. The gem could try to parse the :content option into params, but this seems unnecessary.

The attached pull request removes the :content option in favor of :params.