Skip to content

wearecolorcoded/song_selecta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A SONG A DAY KEEPS THE BLUES AWAY

giphy-downsized 4

WHAT IS THIS?

A Twitter bot that brings you a fresh song daily based on a monthly theme.

SETUP

1- Clone the repo

  • 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

2- Node and packages

  • Make sure you have Node installed. If not, get it here
  • Run npm install

3- API Credentials

  • We are using dotenv to hide our environments variables so before you start the application, get your credentials:

    • On Twitter Register your app with your bots' account, not yours. Unless you wish to post songs from your account.

    • On Spotify

  • 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'

4- Use and Remix the app!

  • Start the server by running npm start
  • Open you Twitter bot's page
  • Watch a song get tweeted

🌈

About

The bot is alive with the sound of music. Daily song tweeter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%