Hey gorgeous reader,
In this blog, I will demonstrate how to implement Spotify Authentication and retrieving Users' Data with ReactJs and Express...
For further actions, you may consider blocking this person and/or reporting abuse
amazing job!
I tried to insert the accessToken into a spotify web player, this however triggers an infinite reload
`import logo from "./logo.png";
import "./App.css";
import SpotifyPlayer from "react-spotify-web-playback";
import React from "react";
import "./App.css";
import Login from "./Login";
import Dashboard from "./Dashboard"
import {useAuth} from "./useAuth"
const code = new URLSearchParams(window.location.search).get('code')
function App() {
const accessToken = useAuth(code).accessToken;
return (
{code ? : }
className="App-spotify-player"
token={accessToken}
uris={["spotifyπ§βπ¨5K4W6rqBFWDnAN6FQUkS6x"]}
styles={{
activeColor: '#fff',
bgColor: '#faebd7',
color: '#000000',
loaderColor: '#FDB9F8',
sliderColor: '#FDB9F8',
trackArtistColor: '#FDB9F8',
trackNameColor: '#000000',
}}
/>
);
}
export default App;
`
Would be nice if you could help me out
Nice work.
Thanks, @harsh2000hp π
Hi there, I was trying to do what you did here and everything has been okay until the last step. I am not getting the user's details it says invalid access token, can you help?
I had the same issue, which was being caused by the presence of React.StrictMode tags in my index.js file.
Useful
Thank you Sir
Thank you!
This is great post for Spotify lovers, if you wan to get our post then you can download Spotify Premium APK.
If you want to download our post Spotify MOD APK
The upgraded version of spotify is only available at Spotify Premium MODHEHE, where you can download the application for free, the latest version is continuously updated.
Great article, it's very useful information! Here I share Spotify Premium APK MOD for Android.
I have Spotify Premium free for my android.