Comments (5)
Did you ever fix this? I have the same problem.
from node-twitter.
Hi @michaelmcmillan,
I couldn't really find the error.
What was causing it to happen more often was that my URL was sometimes malformed, due to some error in my coding. However, now that that's fixed, it still throws the error after longer periods (usually several days).
I did try to add error callbacks everywhere I could think of, still I couldn't catch the error.
I ended up using forks and domains for resiliency: http://nodejs.org/api/domain.html not the nicest solution, as I'd love to be able to handle this, but couldn't find any other way.
Please let me know if you find a solution!
from node-twitter.
Thanks for the swift reply!
I also discovered that the errors were a result of my code sending in malformed data (specifically Object where it should have been an array). I still have not had the chance to see it running over a longer period, it remains to be seen if it dies.
I'll keep you posted if it crashes. Thanks again!
from node-twitter.
Great! Btw, i just checked, and in about 2 months running this only happened once, so it shouldn't be that much of a problem, I'll close the issue as now I can't really be sure it's caused by this library.
Cheers.
from node-twitter.
No problem Ezequiel!
On Tue, May 27, 2014 at 3:58 PM, Ezequiel Rabinovich <
[email protected]> wrote:
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/18#event-125105666
.
from node-twitter.
Related Issues (20)
- Less of an issue... more of a question! HOT 1
- Use on Discord
- posting images from directory HOT 1
- How upload two images? HOT 1
- Media entities always return images not video or gifs (Thumbnail image) HOT 1
- Update Character Count to 280 for Tweets Returned in Response to Search
- Support json payload body
- "client.stream" gets old tweets. HOT 1
- Dependencies "request": "^2.72.0" Is has been deprecated
- Error: HTTP Error: 401 Unauthorized
- Favorite count always Zero
- Loading an image from a url
- How to like a tweet? HOT 1
- url_1.URL is not a constructor on get.('tweets') request HOT 1
- Error: Invalid URI "undefined/statuses/update.json"
- users/search query params
- Track specific users tweets Twitter-Discord-Bot
- Question: Does this support Oauth2 with PKCE flow?
- Stream API get Error: Status Code: 403 HOT 1
- Twitter announced recently new API paid version, can you tell us how we migrate from here HOT 1
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 node-twitter.