Is there a twitter client for node.js (not the streaming API, the regular API)?
I already know about twitter-node but I'm looking for a more generic client that allows use of the Twitter REST API.
Anyone have any ideas?
Thanks,
Johnathan
To the average Twitter user that probably doesn't come as a surprise. Twitter is incredibly easy to automate, in fact, today I'm going to show you just how easy it is to use the Twitter API with NodeJS to read, search, and post tweets.
1) Go to apps.twitter.com and click on Sign In in the top right. Log in using your personal Twitter credentials. 3) Fill out the top three “required” fields and check the box next to “Yes, I agree” to accept the developer agreement. Click the button “Create you Twitter application”.
Tap the camera icon when you go to compose a Tweet and swipe right to "LIVE" to start a live video. You can type in "What's Happening?" to include a Tweet with your video, and tap "Go LIVE" when you're ready.
Check out my node module, it is probably what you're looking for. Has full twitter API support (REST & Streaming API): https://github.com/ttezel/twit
A lot has changed since this question was asked over 3 years ago, but this question is still highly ranked on search engines so it's time to add some updates.
There are many different Node modules to use with the Twitter API and it is not easy to choose the right one for someone who doesn't know all of them. Below is a short description of all of the currently popular modules, together with their authors, latest version, how many stars on GitHub do they have (which is a good indication of their popularity among GitHub users), how many commits, how many contributors, where were they recommended etc. There are also some useful usage stats on npm.
Since it is about Twitter, I will link to the Twitter profiles of people that I reference. The data is up to date as of 2014-07-29 and isn't meant to be always up to date but rather to show a snapshot in time for various comparisons.
On the official dev.twitter.com/docs/twitter-libraries there are only two Node modules:
The articles:
both recommend:
The article A Twitter bot in 20 minutes with Node.js posted on October 3rd, 2013 by @ebertx recommends:
The most popular Twitter modules according to nodejsmodules.org by @corruptmem are:
(listing only the relevant ones from the list - eg. skipping blueimp-bootstrap-image-gallery etc.)
This is what I have found to be a list of most popular Node modules to use the Twitter API. Please note that the most popular doesn't necessarily mean the best. All of them have different APIs, popularity, feature sets, authors, documentation, users. It's impossible to recommend only one module but this list should be a good starting point to find the one that is best suited for a particular set of needs.
Please comment if there are any mistakes or missing modules or other info that should be added here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With