orakaro/rainbowstream

Twitter API changes

xxKeith20xx opened this issue ยท 47 comments

We have connection problem with twitter stream API right now :(
The Site Streams and User Streams endpoints have been turned off. Please migrate to alternate APIs. See https://t.co/usss

So... is that the end for apps like this? ;c

looks like it :(

I don't wish to over dramatize the situation but it feels like I have just been kicked in the CLI.

So is this the end of that? I can't believe that they would just do this, are there no alternatives?

Not a solution but more of an alternative to Twitter all-together. There are a few Mastodon command line apps that are in active development: https://github.com/ihabunek/toot .

a couple CLI alternatives which work for now at least..
https://github.com/bear/python-twitter #twitter -R 4 -r 'refresh every 4 seconds'
https://github.com/piroor/tweet.sh #./tweet.sh post 'status message'
https://github.com/oysttyer/oysttyer # http://oysttyer.github.io/docs/userGuide.html#commands-user

The account activity now is premium or business only, and the subscription price is just ridiculous. More info here:
https://twitter.com/orakaro/status/1030785576973217792

Basically it is impossible for an opensource project.

Right now we can still use RS as a commandline client, but the stream need to be reconsidered carefully. Sorry about all of this.

Is it possible to force RS to automatically refresh timeline every, say, minute or so? Realtime streaming is not that important afterall. Also we can change the name to just Rainbow :)

Seems a possible workout. It has 15 requests per window rate limit. So basically refreshing per minutes should work

Ouch. I was about to post an issue here - and ran across this issue ticket. I am actually very surprised that they are cutting these endpoints. After all - they do have a ton of servers to balance all these requests. Any idea why they did that?

Requesting per minute to keep the stream updated is at least an alternative - less interactive, but it at least allows to keep most of the behaviour. Direct Messages don't seem to be that affected by the API changes, at least not in the same way as the streams are. Which is...kinda confusing.

Anything further on a workaround or plan of action? Is this dead in the water and if so, what alternatives, if any? Thanks.

Is it possible to set auto-refresh time in current version? I'd like it to refresh every minute, and preferably with no warnings from Twitter about Site Streams have been turned off. Ideally those ID's showed after refresh has to be unique. Is it hard to implement?

See the link about the Twitter API that has been posted here and shown in the console too. Twitter "gracefuly" disabled streaming APIs - so even if there were alternatives, well, then there "were" alternatives. With the streaming API gone, all we can do is set a refresh time - and thats it.

I've been curious if this is the reason why i'm unable to run rainbowstream via the command alone. Whenever I enter 'rainbowstream', it returns the following

You are running latest version (1.4.0)

We have connection problem with twitter REST API right now :(
Rate limit exceeded

I thought this may have been related to generating a new authentication, but is has persisted each time I have tried launching or reinstalling/re-authenticating over multiple days. Is there a specific command I have to use to launch now that the old API is dead? I couldn't get any like 'home' to work as rainbowstream fails to load and returns me to the zsh prompt after that message.

Can make a separate issue if this is unrelated, but seeing as how others may still be able to use theirs I wondered if it had any relation to the API switch.

jagp8 commented

I've been curious if this is the reason why i'm unable to run rainbowstream via the command alone. Whenever I enter 'rainbowstream', it returns the following

You are running latest version (1.4.0)
We have connection problem with twitter REST API right now :(
Rate limit exceeded

I thought this may have been related to generating a new authentication, but is has persisted each time I have tried launching or reinstalling/re-authenticating over multiple days. Is there a specific command I have to use to launch now that the old API is dead? I couldn't get any like 'home' to work as rainbowstream fails to load and returns me to the zsh prompt after that message.

Can make a separate issue if this is unrelated, but seeing as how others may still be able to use theirs I wondered if it had any relation to the API switch.

I'm interested in the answer too xD

As a holdover for those of us that can't use rainbowstream to stream our twitter timelines to the terminal: https://www.howtogeek.com/117306/how-to-follow-a-twitter-feed-in-your-rss-reader/

Then use a terminal rss reader

This is sad

RIP

Been using oysttyer for the past couple months and I find now that I just miss most of my tweets, RS was soo much better, please tell me someone is working on making this poll for changes rather than using the streaming api ???

Nobody seems to be working on that.

bitlbee's twitter is not too shabby
*New tweets will only be shown once every 60 seconds

plz let the rainbow stream again

R.I.P. this is bad joke!

@orakaro I am considering rewriting this myself to use polling, would like to know your opinion on it first though as it obviously breaks the whole streaming concept idea behind rainbowstream.. please let us know if you plan to support this product in the future !?

Sorry for so late reply. Yes I will definitely appreciate someone can make polling happens. Just send PR!

So anything further, or is this the end of Rainbowstream? Sorry to bump this.

I'm currently looking into this, I assume otheras are as well. If I get anywhere I'll send a PR.

So depressing to google "twitter linux terminal clients", come across rainbowstream, get excited by all the great reviews, follow the instructions (spent extra time resolving the missing .rainbow_config.json issue), running the app, getting excited by the interface, getting the "connection problem with API now" error, googling that, and only coming across this thread at the end of that whole process. Would be AWESOME to have the current status (and maybe a link to this thread) here:
https://github.com/orakaro/rainbowstream

and maybe here:
https://rainbowstream.readthedocs.io/en/latest/

I'm so excited by this project, I'll be watching this space for updates! ๐Ÿคž

@threecleartones @deepcell Really sorry about that. Updated README ๐Ÿ™‡

So, approaching 10 months since Rainbowstream lost it's ability to update itself realtime, is anything further going to transpire or is this truly dead in the water? Thanks.

Sounds like it's officially dead to me which is sad.
I might be wrong but it looks like Twitter is wanting to charge for API access for certain things now which would mean Rainbowstream would no longer be free.

I wish they would just put a bullet through it's head already instead of keeping us holding on.

It was the best twitter client hands down no matter what platform/OS you used.

@silvernode that already exists as tootstream, which was inspired by rainbowstream https://github.com/magicalraccoon/tootstream

Hello guys, here is a good news: I succeed in an attemp to make RainbowStream's stream live again using a polling strategy! Here is some notes

Let's consider this as a beta state. Please report any bug/problem ๐Ÿ™

Awesome news.

Works great! Thank you!

rek commented

So amazing! Thanks!!

Thanks. It is working just great. I actually prefer that it is not updating the stream in real-time. It is much more readable during periods of high activity.

I'm getting 'Rate limit exceeded'. It even hasn't started in the first place.
Screenshot at 2020-04-27 20-47-21

i am having the same problem...rate limit exceeded

brfid commented

Also getting rate limit exceeded

Great Work!!

still having this problem