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

以前のバージョンでは動作していたのですが #74

Open
aluminixum opened this issue Sep 27, 2017 · 0 comments
Open

以前のバージョンでは動作していたのですが #74

aluminixum opened this issue Sep 27, 2017 · 0 comments

Comments

@aluminixum
Copy link

gemのtwitterにてgetするuser.jsonに?replies=allを追記するとtw側で全く表示が出ないで終了してしまうのですが、バグでしょうか?
wgetなどでuserstream.twitter.com/1.1/user.json?replies=allを取得しようとした場合はユーザー認証ができていないため、エラーが帰ってきます。

wget https://userstream.twitter.com/1.1/user.json?replies=all
--2017-09-27 14:27:12-- https://userstream.twitter.com/1.1/user.json?replies=all
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving userstream.twitter.com... 199.16.156.81
Connecting to userstream.twitter.com|199.16.156.81|:443... connected.
HTTP request sent, awaiting response... 401 Authorization Required

Username/Password Authentication Failed.

Ctrl+cで取得したエラーログは下記のものです。

/usr/local/rvm/gems/ruby-2.4.1/gems/twitter-6.1.0/lib/twitter/streaming/connection.rb:19:in connect': Interrupt from /usr/local/rvm/gems/ruby-2.4.1/gems/twitter-6.1.0/lib/twitter/streaming/connection.rb:19:in stream'
from /usr/local/rvm/gems/ruby-2.4.1/gems/twitter-6.1.0/lib/twitter/streaming/client.rb:119:in request' from /usr/local/rvm/gems/ruby-2.4.1/gems/twitter-6.1.0/lib/twitter/streaming/client.rb:92:in user'
from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/client/stream.rb:16:in user_stream' from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/app/cmds.rb:159:in block (2 levels) in regist_cmds'
from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/app/cmds.rb:157:in loop' from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/app/cmds.rb:157:in block in regist_cmds'
from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/app/main.rb:119:in block in run' from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/app/main.rb:117:in each'
from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/lib/tw/app/main.rb:117:in run' from /usr/local/rvm/gems/ruby-2.4.1/gems/tw-1.2.0/bin/tw:9:in <top (required)>'
from /usr/local/rvm/gems/ruby-2.4.1/bin/tw:23:in load' from /usr/local/rvm/gems/ruby-2.4.1/bin/tw:23:in

'
from /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in eval' from /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in '

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