You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without setting the environment variables $TWITTER_ACCESS_TOKEN etc, run iex -S mix and call ExTwitter.stream_sample |> Enum.to_list
(Or set the environment variables to invalid values, or invalidate your credentials using the web interface, etc.)
Expected behaviour
The call fails immediately, logging or returning an auth error
Observed behaviour
The call does nothing for several seconds, then eventually times out without displaying an error.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue and sorry not being responsive. I've tried to fix the behavior as above.
incorrect authorization parameters
Interactive Elixir (1.5.0)-pressCtrl+Ctoexit(typeh() ENTER for help)iex(1)>ExTwitter.stream_sample|>Enum.take(3)|>Enum.to_list|>Enum.map(fn(x)->x.textend)22:44:23.663[error] Error returned,stoppingstream(Authorization Required).
[]
correct authorization parameters
Interactive Elixir (1.5.0)-pressCtrl+Ctoexit(typeh() ENTER for help)iex(1)>ExTwitter.stream_sample|>Enum.take(3)|>Enum.to_list|>Enum.map(fn(x)->x.textend)["RT @ChiyoFather: SideM 3rd Live 仙台 1日、2日目出演者公開 https://t.co/R6XYxJ3cPw","RT @sidelust: Me talking to my family:\n\n▶ 🔘──────── 00:02\n\nMe talking to boys: \n\n▶ 🔘──────── 00:08\n\nMe talking to my dog:\n\n▶ 🔘──────── 1:54…","RT @sateco: ハゲっていつの間に経営戦略研究科の客員教授になったのwwwwwww"]
To reproduce
Without setting the environment variables
$TWITTER_ACCESS_TOKEN
etc, runiex -S mix
and callExTwitter.stream_sample |> Enum.to_list
(Or set the environment variables to invalid values, or invalidate your credentials using the web interface, etc.)
Expected behaviour
The call fails immediately, logging or returning an auth error
Observed behaviour
The call does nothing for several seconds, then eventually times out without displaying an error.
The text was updated successfully, but these errors were encountered: