Skip to content

Instantly share code, notes, and snippets.

@Corstiaan84
Last active December 31, 2015 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Corstiaan84/c70324d47c9fb129a512 to your computer and use it in GitHub Desktop.
Save Corstiaan84/c70324d47c9fb129a512 to your computer and use it in GitHub Desktop.
streaming twitter client
/Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/response/raise_error.rb:15:in `on_complete': Could not authenticate you. (Twitter::Error::Unauthorized)
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/request/multipart_with_file.rb:17:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/request.rb:33:in `perform'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/search_results.rb:27:in `initialize'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/search.rb:31:in `new'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/search.rb:31:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:42:in `block in search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:39:in `each'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:39:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/dsl.rb:30:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/streaming.rb:23:in `do_streaming'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/dsl.rb:67:in `streaming'
from bot.rb:99:in `<main>'
/Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/response/raise_error.rb:15:in `on_complete': Could not authenticate you. (Twitter::Error::Unauthorized)
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/request/multipart_with_file.rb:17:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/request.rb:33:in `perform'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/search_results.rb:27:in `initialize'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/search.rb:31:in `new'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/search.rb:31:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:42:in `block in search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:39:in `each'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:39:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/dsl.rb:30:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/streaming.rb:23:in `do_streaming'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/dsl.rb:67:in `streaming'
from bot.rb:99:in `<main>'
/Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/response/raise_error.rb:15:in `on_complete': Could not authenticate you. (Twitter::Error::Unauthorized)
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/request/multipart_with_file.rb:17:in `call'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/request.rb:33:in `perform'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/search_results.rb:27:in `initialize'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/search.rb:31:in `new'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/twitter-5.14.0/lib/twitter/rest/search.rb:31:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:42:in `block in search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:39:in `each'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/search.rb:39:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/dsl.rb:30:in `search'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/streaming.rb:23:in `do_streaming'
from /Users/user/.rvm/gems/ruby-2.2.1/gems/chatterbot-1.0.1/lib/chatterbot/dsl.rb:67:in `streaming'
from bot.rb:99:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment