
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
nodejs-twitter-crawler
Advanced tools
Crawl twitter users and user tweets but using multiple credentials. Credentials used in a round-robin mode.
NodeJS Twitter Crawler is implemented using promises. You will need to use promises pattern no add callbacks to crawler method invocations.
var crawler = new TwitterCrawler(credentials);
crawler.getUser(/* CrawlerParameters */)
.then( /* Success Callback */ )
.catch( /* Error Callback */ )
crawler.getTweets(/* CrawlerParameters */, { limit: /* Desired limit, you can omit this */ })
.then( /* Success Callback */ )
.catch( /* Error Callback */ )
The available methods are the following ones:
getUser :: CrawlerParameters -> Promise - Obtain the user status from Twitter by calling users/show method from Twitter API. The then callback will receive the user information.getTweets :: (CrawlerParameters[, CrawlerOptions]) -> Promise - Obtain User Tweets by calling statuses/user_timeline method from Twitter API. The then callback will receive a list of tweets.Definitions
CrawlerParameters can be a TwitterID or a TwitterParameters object.TwitterID is the numeric Twitter ID or the Twitter Handle.TwitterParameters is an object with parameters to be passed to Twitter API. E.g. this documentation shows that GET statuses/user_timeline can receive parameters such as user_id or exclude_replies.Promise is a promise as defined by BlueBird package.CrawlerOptions is an object containing options for the crawling with attributes:
limit: sets the max count of tweets to collect.min_tweets: forces a minimum tweet count. If set and not satisfied, it will result in rejection.FAQs
NodeJS Crawler for Twitter
We found that nodejs-twitter-crawler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.