Simple example to query Twitter and cache results in Redis.
-
Log into Twitter and create an app: https://apps.twitter.com
-
Change config.js to set to your values for Twitter and Redis configuration.
-
Ensure Redis is running (or available remotely).
-
Run
node index.js query
(query is your search text).