Need help? Check out Spotify Answers for solutions to a wide range of topics. |
Hello,
Recently, I was trying to understand how Discord implemented Spotify on their server and noticed it was something totally different (websocket connection).
As i'm a curious person, I decided to re-do the same process as Discord does but when creating a subscription on this API (which will notice you of current playing through websocket): https://api.spotify.com/v1/me/notification/player, i'm getting an "unathorized". If I use an access_token from Discord, it works fine.
I thought I was doing something wrong (bad access_token etc) but apparently, it seems only Discord is allowed to use this API (maybe i'm wrong).
My question is: If a big company decides to implement the same way as Discord (and not through API because they want real time stuff), how should they do it? Do they need to contact Spotify personally?
Thank you for your answer/help.
Solved! Go to Solution.
Hello Hubo,
Thank you for your kind answer.
If I understood well, the company would need to fill this doc (https://docs.google.com/forms/d/e/1FAIpQLScawLOKdjegmKoIan9CJRiqrXDmBJ5-rLPa29hXJkSUPC1SCA/viewform) to have an access to this Websocket feature?
Best regards,
Hey Hubo,
Oh alright, it makes sense now.
Any ETA on when it will be released ? (if you know) The company where I am on, is interested to implement it 😄
Hopefully i'm not asking too much ...
Thank you!