Comments (5)
Can you show me your code? I suspect that your params are [ ], [ ]
when they may need to be { track: [ ], follow: [ ] }
or something similar.
The old code may not throw for you, but when it was tested, it wasn't successfully retrieving any tweets, either.
from ntwitter.
twitter.stream("user", function(stream)
{
stream.on("data", function(data)
{
if(data.text && data.user.screen_name && data.user.profile_image_url, data.created_at)
{
client.emit("newtweet",
{id: data.id, title: data.text, user_name:data.user.screen_name, user_img:data.user.profile_image_url, time: data.created_at} );
}
});
});
from ntwitter.
I understand - you aren't passing specific params, and undefined
doesn't have any keys. I'll add a check for this in a moment, thanks for pointing this out!
from ntwitter.
Perfect! thank you! ;)
from ntwitter.
Published in [email protected]
. Thanks again!
from ntwitter.
Related Issues (20)
- Does streaming work with 1.1 API? HOT 2
- status/firehose doesn't work HOT 5
- reportSpam doesnt work
- Add additional collaborators? HOT 5
- Update with Media
- Rate Limit Status url is wrong
- showUser doesn't work with numerical usernames
- Is stream.on('end') always called when the connection is closed?
- Issue with the twitter API and ntwitter package
- doing more complex queries
- authorize_url vs. authenticate_url
- Post from multiple accounts
- I get some problems when i use ntwitter HOT 1
- Refresh the track list of a stream HOT 3
- Unspecified 'error' event HOT 2
- Add statuses/lookup entry point
- connect "ECONNREFFUSED" Error.
- Updated Fork (For anyone who needs this library)
- What was this deprecated in favour of?
- Login Twitter
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 ntwitter.