-
Notifications
You must be signed in to change notification settings - Fork 568
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
Bad Twitter streaming request: 403 #574
Comments
Did you found any solution ? |
Is this thing still works? |
I think this is happening: #571 (comment) |
Getting this error today, shame to see Twitter api being made worse. |
@anthonyattard any resolution? Funny enough, I also ran into this yesterday March 16 2023 |
Looks like the resolution is to hit the v2 endpoints but this library hasn't been updated for it. May have to find an alternative or fork this one. Elon finally cut us off! |
@atnjqt replace twit with the official twtitter v2 api library https://github.com/twitterdev/twitter-api-typescript-sdk Had to rework my project but am back up and running! |
i don't really know how to switch to v2 i was hoping someone could help me with it or is there something wrong with the code?
Error: Bad Twitter streaming request: 403
at Object.exports.makeTwitError (F:\AI-CHIBI\node_modules\twit\lib\helpers.js:74:13)
at Request. (F:\AI-CHIBI\node_modules\twit\lib\streaming-api-connection.js:96:29)
at Request.emit (node:events:532:35)
at Gunzip. (F:\AI-CHIBI\node_modules\request\request.js:1076:12)
at Object.onceWrapper (node:events:639:28)
at Gunzip.emit (node:events:520:28)
at endReadableNT (node:internal/streams/readable:1346:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on StreamingAPIConnection instance at:
at Request. (F:\AI-CHIBI\node_modules\twit\lib\streaming-api-connection.js:99:14)
at Request.emit (node:events:532:35)
[... lines matching original stack trace ...]
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: null,
allErrors: [],
twitterReply: '\n\n\n<title>Error 403 \n' +
'Please use V2 filtered and sample volume stream as alternatives\n' +
'</title>\n' +
'\n' +
'\n' +
'
HTTP ERROR: 403
\n' +"
Problem accessing '/1.1/statuses/filter.json'. Reason:\n" +
\n' +'
'\n' +
'\n',
statusCode: 403
}
The text was updated successfully, but these errors were encountered: