CleverProgrammers/spotify-clone

Not able to play song

Opened this issue ยท 13 comments

It is giving 401 error while playing a song saying token is not passed

+1 i have the same problem

btw the token not passed is when you click the link and you open it in new tab the token is not passed , to token is already passed while logging in

You also need to have a spotify premium account to play a song using spotify API.

Play song button is not working .

btw the token not passed is when you click the link and you open it in new tab the token is not passed , to token is already passed while logging in

you need to have spotify premium account

Play song button is not working .

you need to have spotify premium account

you can still play preview of some songs using their Api

you can still play preview of some songs using their Api

Can you please give the url of the documentation. @Rahul-Chauhan21 .
Thanks

I was unable to play song with free spotify account, but when i upgraded to premium. I was able to play the songs, but on my actual spotify account. Let me elaborate :

When i pressed play button on my localhost ---> the same song gets played on my spotify app/actual spotify website.

I am unable to play the same song inside my browser (localhost). Any suggestions?

I was unable to play song with free spotify account, but when i upgraded to premium. I was able to play the songs, but on my actual spotify account. Let me elaborate :

When i pressed play button on my localhost ---> the same song gets played on my spotify app/actual spotify website.

I am unable to play the same song inside my browser (localhost). Any suggestions?

Same

Has anyone found any solution to this problem??

@abhayxkumar you need spotify premium

you can see documentation of spotify-web-api-node https://github.com/thelinmichael/spotify-web-api-node
they mention which features you need to have premium account