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!
- Node.js
- Homebrew
- Spotify account
- Alternate Facebook account
First start by creating an alternate Facebook account for the bot.
This is the account you will be interacting with.
git clone https://github.com/kabirvirji/spotify-bot.git
npm install
brew install shpotify
- Generate Spotify API keys at https://developer.spotify.com/my-applications
- Create a config.json after generating Spotify API keys
{
"login": "",
"password":"",
"spotifyid": "",
"spotifysecret": "",
"username": ""
}
npm start
- Start playing music!