Skip to content

kabirvirji/spotify-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Messenger Bot

With this bot you'll be able to control Spotify through Facebook Messenger.

Although each bot is linked to a specific user, anyone can message the bot and it can be added to group chats.
This makes it great for parties and events because anyone can play a song!

requirments

  • Node.js
  • Homebrew
  • Spotify account
  • Alternate Facebook account

usage

First start by creating an alternate Facebook account for the bot.
This is the account you will be interacting with.

  1. git clone https://github.com/kabirvirji/spotify-bot.git
  2. npm install
  3. brew install shpotify
  4. Generate Spotify API keys at https://developer.spotify.com/my-applications
  5. Create a config.json after generating Spotify API keys
{
  "login": "",
  "password":"",
  "spotifyid": "",
  "spotifysecret": "",
  "username": ""
}
  1. npm start
  2. Start playing music!