Skip to content

Instantly share code, notes, and snippets.

@gate5th
Created September 12, 2018 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gate5th/0eae5bac0555da121fd6931297dcfc9e to your computer and use it in GitHub Desktop.
Save gate5th/0eae5bac0555da121fd6931297dcfc9e to your computer and use it in GitHub Desktop.
oldschoolshuffle
export function setAccessToken(accessToken) {
//since using spotifyApi as helper library you can set the access code once
//you get it and then not have to include it in every request
spotifyApi.setAccessToken(accessToken);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment