Comments (5)
I'm assuming you're talking about the Streaming API. If Twitter closes the connection, the close
event gets emitted, and twit
will automatically do the reconnection for you.
from twit.
No, not the Streaming API, the Status API I have my App posting twits every 20 minutes, and over the last 2 days it failed 3 times.
from twit.
OK, the callback you write should be handling the error then if twitter returns an error. Is there not enough information passed to the callback for you to handle the error?
from twit.
You are right, looks like I wasn't handling the error correctly... problem solved! Thanks so much!
from twit.
no worries :)
from twit.
Related Issues (20)
- Can I update the banner of other user (after they authenticate) using that library
- Cannot get replies of a tweet, using metrics like public_metrics
- Stream Problem HOT 1
- Bad Twitter streaming request: 403, "Please use V2 filtered and sample volume stream as alternatives" HOT 4
- Bad Twitter streaming request: 401
- Bad Twitter streaming request: 403 HOT 7
- How do I change my app from read only to Read, write and access Direct Messages?
- Works on v2? HOT 4
- Support for: users/timelines/reverse_chronological
- Media Chunked Upload
- Tweet from a JS file HOT 11
- stream stopped working return "Bad Twitter streaming request: 410" HOT 2
- 'Could not authenticate you.' HOT 4
- Twitter Reply : 'Please use V2 filtered and sample volume stream as alternatives' HOT 2
- how to tweet with url?
- Can we use Twitter V2 APIs using this library? HOT 1
- Unable to verify your credentials
- Streams do not work HOT 2
- How to use followers/ids ? HOT 1
- require() of ES Module is not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twit.