sferik / t-ruby

A command-line power tool for Twitter.
http://sferik.github.com/t
MIT License
5.43k stars 408 forks source link

Streaming API turned off #403

Open bomeara opened 6 years ago

bomeara commented 6 years ago

Command t stream timeline -l results in a single set of results, then

/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/json/common.rb:156:in `parse': 765: unexpected token at 'The Site Streams and User Streams endpoints have been turned off. Please migrate to alternate APIs. See https://t.co/usss' (JSON::ParserError)

This comes from twitter turning off its APIs for many services, so I doubt there's a workaround. But could be worth turning off the options that won't work any longer.

jonschoning commented 6 years ago

https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/migration/introduction

https://twittercommunity.com/t/details-and-what-to-expect-from-the-api-deprecations-this-week-on-august-16-2018/110746

https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/migration/us-ss-migration-guide

Starting August 16th, 2018, we will be flickering Site Streams, User Streams, and legacy Direct Message endpoints on and off in anticipation of their retirement to alert those developers who might not have seen our announcements.

Site Streams and User Streams will be fully retired on August 23rd, and the legacy Direct Messages endpoints will be fully retired on September 17th. We also fully retired the standard beta Account Activity API - DM only product on August 16th.