Skip to content
This repository was archived by the owner on May 7, 2019. It is now read-only.

Latest commit

 

History

History
54 lines (37 loc) · 915 Bytes

File metadata and controls

54 lines (37 loc) · 915 Bytes

get-tweets

  1. Caution
  2. Installation
  3. Server

Caution

Ensure that you read the API Docs, most importantly the rate limiting and black listing.

Installation

Copy the repo.

mkdir -p ~/GitHub/caseconsulting && cd $_
git clone git@github.com:caseconsulting/get-tweets-api.git
cd get-tweets-api

Install packages.

yarn install

Create an .env file. See the sample for more information.

cp env.example .env
vim .env

Server

yarn start

Heroku

Create the application.

heroku apps:create case-get-tweets
heroku config:set CONSUMER_KEY=111111111
heroku config:set CONSUMER_SECRET=111111111
heroku config:set ACCESS_TOKEN_KEY=111111111
heroku config:set ACCESS_TOKEN_SECRET=111111111