Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 679 Bytes

twitter-setup.md

File metadata and controls

25 lines (19 loc) · 679 Bytes

Twitter API setup

Visit https://apps.twitter.com

Click "Create new app". Choose a random app name and description and use "http://example.org" as app url.

Go to "Keys and Access Tokens". Create the file twitter.json in the root folder of the repository with your keys and tokens. The file should be on the following format:

{
    "consumer_key": "your key",
    "consumer_secret": "your secret",
    "access_token": "your access token",
    "access_token_secret": "your access token secret"
}

Update src/index.js to point to localhost:

- const ws = new WebSocket('ws://twitterws.herokuapp.com');
+ const ws = new WebSocket('ws://localhost:9999');