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

Twitter API changes #271

Closed
xxKeith20xx opened this issue Aug 16, 2018 · 47 comments
Closed

Twitter API changes #271

xxKeith20xx opened this issue Aug 16, 2018 · 47 comments

Comments

@xxKeith20xx
Copy link

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

@jokebroker
Copy link

looks like it :(

@yipmanfan
Copy link

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

@johnpiers
Copy link

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

@xxKeith20xx
Copy link
Author

xxKeith20xx commented Aug 22, 2018

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 .

@mikeofmany
Copy link

I suppose if someone is up for refactoring the api calls, https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/site-stream

@cirrusUK
Copy link

cirrusUK commented Aug 25, 2018

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

@orakaro
Copy link
Owner

orakaro commented Aug 28, 2018

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.

@movalex
Copy link

movalex commented Aug 28, 2018

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 :)

@orakaro
Copy link
Owner

orakaro commented Aug 28, 2018

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

@IngwiePhoenix
Copy link

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.

@johnpiers
Copy link

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

@IngwiePhoenix
Copy link

IngwiePhoenix commented Sep 26, 2018 via email

@movalex
Copy link

movalex commented Sep 26, 2018

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.

@ListeningGarden
Copy link

ListeningGarden commented Sep 27, 2018

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
Copy link

jagp8 commented Oct 1, 2018

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

@itpropaul
Copy link

itpropaul commented Oct 3, 2018

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

@silvernode
Copy link

This is sad

@jeromewoody
Copy link

jeromewoody commented Oct 24, 2018 via email

@karelbilek
Copy link

RIP

@NickyTope
Copy link

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 ???

@karelbilek
Copy link

Nobody seems to be working on that.

@cirrusUK
Copy link

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

@tankred
Copy link

tankred commented Jan 25, 2019

plz let the rainbow stream again

@devasia2112
Copy link

R.I.P. this is bad joke!

@NickyTope
Copy link

@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 !?

@orakaro
Copy link
Owner

orakaro commented Feb 6, 2019

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

@johnpiers
Copy link

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

@jeromewoody
Copy link

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

@threecleartones
Copy link

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! 🤞

@devasia2112
Copy link

devasia2112 commented Mar 9, 2019 via email

@orakaro
Copy link
Owner

orakaro commented Apr 5, 2019

@threecleartones @deepcell Really sorry about that. Updated README 🙇

@johnpiers
Copy link

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.

@MystikSpiral
Copy link

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
Copy link

silvernode commented Jun 1, 2019 via email

@StarlitGhost
Copy link

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

@silvernode
Copy link

silvernode commented Jun 3, 2019 via email

@orakaro
Copy link
Owner

orakaro commented Nov 21, 2019

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

@orakaro
Copy link
Owner

orakaro commented Nov 21, 2019

Let's consider this as a beta state. Please report any bug/problem 🙏

@johnpiers
Copy link

Awesome news.

@xxKeith20xx
Copy link
Author

xxKeith20xx commented Nov 22, 2019

Works great! Thank you!

@rek
Copy link

rek commented Nov 27, 2019

So amazing! Thanks!!

@yipmanfan
Copy link

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.

@vk0xOrg
Copy link

vk0xOrg commented Apr 27, 2020

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

@HaxNet
Copy link

HaxNet commented May 4, 2020

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

@brfid
Copy link

brfid commented Aug 25, 2020

Also getting rate limit exceeded

@cyrixhero
Copy link

Great Work!!

@guslanzetta1
Copy link

still having this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests