-
Notifications
You must be signed in to change notification settings - Fork 14
Adding Your Spotify Information
For the app's core functionality — a votable music queue — we use the Spotify SDK to grab and play music. You will need a premium account to actually play music through the app (per Spotify terms), and there are a few places you'll need to include your Spotify Developer info.
- After you create a Spotify Developer account, take a look at the SDK.
- Find your developer keys and credentials by creating a new Spotify app from your dashboard.
- Using your client credentials, fill in your Spotify information for the following files:
- spotifyAuthorization cloud function
- iPhone app, in
SpotifyManager.swift
- iPad Admin app, in
SpotifyManager.swift
This app was built using the 0.25.0
Spotify SDK. I've found their docs and SDK to be poorly documented, and often unreliable. This may have changed since this code was written, but nonetheless, a token exchange service is required to run the Spotify Authorization for the app.
Spotify provides a rather poor tutorial you can check out here. However, I found it more useful watching a helpful videos like the one by Noobs2Ninjas or Jared Davidson. There is even an older video by Brian Advent that talks about setting up the token exchange service.
There is a README for the token swap services that should also help you get it up and running. Personally, I used Heroku to get mine up and running.