Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify API Token doesn't work #25

Open
theawes0megamer opened this issue Jul 30, 2023 · 1 comment
Open

Spotify API Token doesn't work #25

theawes0megamer opened this issue Jul 30, 2023 · 1 comment

Comments

@theawes0megamer
Copy link

hello! im trying to build the app, but in the documentation the api key stuff isn't clear.
on spotify, i have a client key, and a secret, but no api key, and im not sure how to get it. in the documentation it says: "Create a Spotify app and get the keys on the Spotify developer dashboard.

Fill SPOTIFY_API_TOKEN in firstfm/Config/Secrets.xcconfig."
It says keys, but theres no api key. only the client and the secret.

i just need help finding what the api token is, many thanks!

@joshpeterson1
Copy link

Documentation is your friend, child: https://developer.spotify.com/documentation/web-api/tutorials/getting-started

curl -X POST "https://accounts.spotify.com/api/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=client_credentials&client_id=your-client-id&client_secret=your-client-secret"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants