Hello Community! š
Before I dive into the app, just wanted to give a few pointers, so nobody get's confused.
This app is only created ...
For further actions, you may consider blocking this person and/or reporting abuse
Thank you Ferdo for your work, I'm super pumped to get this project done. But actually, I'm facing an issue. After so many researches, I'm stucked. I'm trying to add the play music functionality .
The play music functionality should already be implemented. If you can see your playlists, just click on the song so it is shown in the footer and then the play button should work.
2 potential issues could be that a specific track doesnt have a previrew url
Or that you didnt set up your spotify clientId and redirectUrl
Can you confirm that both of those things are set up correctly and that your playlist is pulled after login?
Spotify clientID and redirectUri are set up. The problems comes from
Everything is working fine right now !
I love to hear. The functionalities are just getting started. Right now play button, volume and repeat should work (volume has a bit of a bug on it). I will try to add functionality to shuffle/prev/next buttons today
We can do together if you want to ! What is the bug about he volume button ? What's the logic behind shuffle/prev/next buttons ?
The volume button doesn't seem to transfer it's state when you change the song while the one is playing. It will reset again to the starting position.
Yea getting the help from the community would be lovely because as I said, I am very much a newbie to React (would be a lot more comfortable in Vue.js)
So the functionality of buttons is quite simple really
After those footer functionalities I will start working on the Home & Search buttons. I might refactor the design prior to that š
Would be great to collaborate and help each other !
I'm new as well in React Dev so that's I sound like a newbie.
Can you help me out with this ?
There is also another problem that I'm facing... const redirectUri seems to be incorrect. When deploying the website with firebase , when logged in, it redirects me to localhost:3000 and because the server is down, it keeps me redirecting to the wrong URL
I would suggest you use your own clientId. It is very simple to get at developer.spotify.com/dashboard
RedirectUri gets pulled from window.location.origin so it should work as long as you setup inside your dashboard the same uri your app is hosted on.
So steps would be:
Go to spotify dashboard for developers, create an app, take the clientId and place it inside spotify.js file.
And then inside the spotify dashboard in edit settings, set the redirect url to match the url your app is hosted.
It would be great to jump on a call , are you available ?
Well done! That is a great project š
Unfortunately I was not able to log in, I tried to connect using my Facebook account but it would not let me log in for some reasons...
I don't know if someone experienced the same or if I am the only one.
If you have time you can try following instructions and try to set it up locally. Maybe the clientId is directly connected to users account and thats why it always works for me
Nice project ! Did you deploy it on Heroku for example ? This way we could test it, i'tll be more fun for us than just to see screenshots of the app ;)
hey fredo i am encountering an issue after deployment
dev-to-uploads.s3.amazonaws.com/up...
I just want to ask why we can't play whole song? Why only 30 seconds?
What if i want to play the whole song?
Spotify api doesn't give you the full song. Makes sense, otherwise you could make your own up, upon their api
dev-to-uploads.s3.amazonaws.com/up...
Kudos for Hybrid Theory. You know what's good :)
Here is my clone Spotify by using ReactJS, NextJS
Github: github.com/lethanhvietctt5/react-s...
I hope it will help everyone who is learning react and want to clone Spotify
How can I get access token to fetch data from another API of Spotify itself..like the album , latest songs etc?