twit icon indicating copy to clipboard operation
twit copied to clipboard

User stream stopped working.

Open shahidmau opened this issue 6 years ago • 6 comments

Hello, user stream was working fine for a long time but it suddenly stopped working for me. I am using like this.

var stream = T.stream( 'user' );
stream.on( 'tweet', function(){} ):

It gives below error

{ Error: Bad Twitter streaming request: 404 at Object.exports.makeTwitError (/Volumes/mac2/programs/nodejs/nodejs_production/node_modules/twit/lib/helpers.js:74:13) at Request. (/Volumes/mac2/programs/nodejs/nodejs_production/node_modules/twit/lib/streaming-api- connection.js:96:29)

shahidmau avatar Feb 04 '19 04:02 shahidmau

User stream and Site stream are discontinued in favor of activity stream. It is not possible to use those to APIs anymore as Twitter removed them. If you do a bit of search here and in out there you see they have warned users about a year ago, and finally stopped it a few months back.

maziyarpanahi avatar Feb 05 '19 12:02 maziyarpanahi

hi, and have we got a solution to bypass this issue from twitter ?

Barbapapazes avatar Feb 17 '19 23:02 Barbapapazes

Nothing to bypass or fix here. They removed the whole APIs. Nothing anyone can do.

maziyarpanahi avatar Feb 18 '19 07:02 maziyarpanahi

@maziyarpanahi do you have any examples of how to reply to mentions?

taytus avatar Feb 28 '19 02:02 taytus

@maziyarpanahi could you please mention any working example latest user streams.

vinodsamy avatar Jun 27 '19 11:06 vinodsamy

There is no such thing as user streams any more. You would need to implement code that supports the Account Activity API using webhooks. One such example app written in node is the Account Activity API dashboard from Twitter, you could take a look at how that works internally.

andypiper avatar Jul 05 '19 14:07 andypiper