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.
Hello,
I'm using this API https://github.com/jishi/node-sonos-http-api
Since the authorization new restrictions, It can't work with spotify interaction since it doesn't handle access tokens & keys so I wanted to implement it myself.
From what I understand, this is the method doing the query https://github.com/jishi/node-sonos-http-api/blob/master/lib/actions/musicSearch.js but can't really figure out how to implement the tokens / Authorization logic/process. (I have already generated the client key and secret)
So help would be welcomed !
I could contribute it to the github then maybe
Regards
Solved! Go to Solution.
Hey @StarNab,
You can ask Spotify API related questions on Stack Overflow by using the Spotify
tag.
Follow the link below to ask your Spotify API question. Don’t forget to add the Spotify tag, and any other relevant tags as well, before posting.
Any questions or answers that use the Spotify tag can easily be filtered by typing [Spotify] in the search box, or use the following link:
Hope this helps!
Hey @StarNab,
You can ask Spotify API related questions on Stack Overflow by using the Spotify
tag.
Follow the link below to ask your Spotify API question. Don’t forget to add the Spotify tag, and any other relevant tags as well, before posting.
Any questions or answers that use the Spotify tag can easily be filtered by typing [Spotify] in the search box, or use the following link:
Hope this helps!
Thanks again @Maxim. It seems i'm not the only one who is lost with those changes
Ok this was a mess. I went for the credentials flow. For some reason, I couldn't get a bearer token through nodejs javascript. So I did a python script that does the job and stores the token for my nodejs script to use.
Then the nodejs part reads the token and adds it in the headers when querying Spotify. In the end it works...
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…