Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Hi, I have recently started using the spotify developer api. I have experimented with https://developer.spotify.com/console/get-users-currently-playing-track/
To use the endpoint I generated a temporary token using the "Get Token" button to test out the endpoint. After creating an app in the dashboard section and obtaining the token I would test the endpoint again only to get this error:
{
"error": {
"status": 404,
"message": "Invalid username"
}
}How do I specify the user to get currently playing track from? I tried things like ?user="username" but It still gave the same error
Sorry for my late response. I'm currently the only one who's answering questions on this board.
I haven't seen that error before. The Get Currently Playing Track endpoint doesn't need a username.
Note: You have to implement the Authorization Code Flow first to get access tokens. The access token from the console are for testing purposes in that console only.
How can I get the currently playing with the token of an application?
I don't want to use the console token, I want to use the token from my application to get the currently playing track
Like I said in my Note: You have to implement the Authorization Code Flow to get access tokens for your app.
What programming language are you currently using? Maybe there is a Web API Wrapper in that language that can make things a lot easier.
I am using python
Then I recommend you to use the python module spotipy. You can find its documentation here.
Hey there you, ย Yeah, you!ย 😁 ย Welcome - we're glad you joined the Spotify Community! ย While you here, let's have a fun game and getโฆ