Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

278
Views
¿Cómo puedo ejecutar un proyecto alojado en local, usé redirigir uri, ID de cliente después de crear una cuenta en Spotify pero obtengo un error?
i cloned https://github.com/espitiaandres/studyfi and i want to run it in local. i have made my account on spotify developer and took redirecturi and client id and wrote in config.js but localhost is refusing to connect ```const authEndpoint = "http://accounts.spotify.com/authorize"; // const clientId = "53bcecd410634483b53########"; const clientId = "e6690d4f0b734a6c89336c#######"; const redirectUri = "http://localhost:8080/callback"; // dev redirectUri // const redirectUri = "https://www.andres-espitia.com/studyfi/"; // prod redirectUri const scopes = [ "user-top-read", "user-read-currently-playing", "user-read-playback-state", "user-modify-playback-state", "playlist-read-private" ]; export { authEndpoint, clientId, redirectUri, scopes }``` in app.js the following code is written app.js const getCurrentlyPlaying = (token) => { axios({ method: 'get', url: 'https://api.spotify.com/v1/me/player', headers: { 'Authorization': `Bearer ${token}` } }).then(({ data }) => { if(!data) { setData(data); return; } token.js

en token.js está escrito el siguiente código, probablemente también haya un error de autorización export const setToken = (token) => ({ type: 'SET_TOKEN', token });

 export const startSetToken = (token = "") => { return (dispatch, getState) => { return dispatch(setToken(token)); } }

getting this link after clicking login http://localhost:8080/callback#access_token=BQBR6jxgnBEWYYIuRjsvnxkQ-RqzVFRZ7JR1Q_9F3XWHhExQ7EaWTTj1z5ZzHXu2onRE8xRvRBHWz0qCB5Z776gHfejbXogxvkwaXDQgZGGFb4ezvHSM_87Ofy9wfZJD1_DZkehZ9NeEMehXeDShZaOVFo4DL-hMfaWNcDa9oQTQz-tJ-7UZcjiw&token_type=Bearer&expires_in=3600

¿Cómo soluciono esto y hago que este proyecto se ejecute en mi local?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!