A Twitter bot that brings you a fresh song daily based on a monthly theme.
-
From the command line (aka the terminal) enter
[email protected]:wearecolorcoded/song_selecta.git
or fork it into your account with the button on the top right of the screen -
Cd into the directory
cd song_selecta
-
We are using dotenv to hide our environments variables so before you start the application, get your credentials:
-
Create a
.env
file, and add your credentials like so
clientId='SPOTIFY CLIENT ID GOES HERE'
clientSecret='SPOTIFY CLIENT SECRET GOES HERE'
CONSUMER_KEY='TWITTER CONSUMER KEY GOES HERE'
CONSUMER_SECRET='TWITTER CONSUMER KEY GOES HERE'
ACCESS_TOKEN='TWITTER ACCESS TOKEN GOES HERE'
ACCESS_TOKEN_SECRET='TWITTER ACCESS TOKEN SECRET GOES HERE'
- Start the server by running
npm start
- Open you Twitter bot's page
- Watch a song get tweeted
🌈