No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of Making-Things-Interactive:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.env.sample
.gitignore
README.md
package.json
search.js
stream.js

README.md

Node.js Twitter API Example

This repository gets you started on working with Node.JS and the Twitter API.

How to use

  1. Clone this repository to your computer, using either a GUI (GitHub Desktop, and GitKraken are both good choices) or the command line (git clone https://github.com/PhysCompStudio/node-twitter-example.git).

  2. Go to apps.twitter.com, sign in, and click the Create New App button (you will most likely be required to add your phone number to your profile to get set up as a developer with Twitter).

  3. Create a new Application.

  4. Go to the Keys and Access Tokens tab, and generate new Access Tokens.

  5. Within the repo you downloaded, Copy/Move .env.sample to .env, and paste your Consumer Key, Consumer Secret Key, Access Token, and Access Token Secret into the variables there.

  6. Install all the required dependencies with npm install.

  7. Run node stream.js "#hello" or node search.js wallaby to view the example applications.