Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search requests fail #63

Open
theaquamarine opened this issue Sep 7, 2014 · 0 comments
Open

Search requests fail #63

theaquamarine opened this issue Sep 7, 2014 · 0 comments

Comments

@theaquamarine
Copy link

Search requests are being sent to the deprecated v1 API rather than v1.1 so are given a 401 error and fail.

D, [2014-09-07T16:23:20.859502 #411] DEBUG -- : RECEIVE: PRIVMSG #twitter :ACTION search Test
D, [2014-09-07T16:23:20.869961 #411] DEBUG -- : ["GET", "https://search.twitter.com/search.json?q=Test"]
E, [2014-09-07T16:23:21.453667 #411] ERROR -- : [Atig::Gateway::Session] #<Atig::BasicTwitter::APIFailed: 401: Unauthorized>
        /home/blue/atig/lib/atig/basic_twitter.rb:90:in `api'
        (eval):3:in `get'
        /home/blue/atig/lib/atig/command/search.rb:27:in `action'
        /home/blue/atig/lib/atig/command/command.rb:13:in `block in initialize'
        /home/blue/atig/lib/atig/gateway/session.rb:221:in `call'
        /home/blue/atig/lib/atig/gateway/session.rb:221:in `block in on_ctcp_action'
        /home/blue/atig/lib/atig/exception_util.rb:7:in `call'
        /home/blue/atig/lib/atig/exception_util.rb:7:in `safe'
        /home/blue/atig/lib/atig/gateway/session.rb:220:in `on_ctcp_action'
        /home/blue/atig/lib/atig/gateway/session.rb:207:in `on_ctcp'
        /home/blue/atig/lib/atig/gateway/session.rb:184:in `block in on_privmsg'
        /home/blue/atig/lib/atig/gateway/session.rb:184:in `each'
        /home/blue/atig/lib/atig/gateway/session.rb:184:in `on_privmsg'
        /var/lib/gems/1.9.1/gems/net-irc-0.0.9/lib/net/irc/server.rb:99:in `start'
        /var/lib/gems/1.9.1/gems/net-irc-0.0.9/lib/net/irc/server.rb:27:in `block (3 levels) in start'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant