code for article pfeilbr/twit-twitter-api-client-playground
learn twit, the Twitter API Client for node. Supports both the REST and Streaming API.
see index.js
for examples
Running
cp .env.sample .env
# update .env with your twitter developer consumer and access values (e.g. app defined @ https://developer.twitter.com)
# Uncomment examples in `index.js` to run
# dev / live reload
npm run dev
Twitter • Reddit