Topics with Label: React

Labels

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 13928 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 13928 Views
  • 0 replies
  • 51 likes

API only working when I use sample data

Hi there,I am using reactjs and trying get track using the web API but it only works when I use the track id from sample id that I got from https://developer.spotify.com/console/get-track/which is - 11dFghVXANMlKmJXsNCbNlWhenever I try different IDs ...

  • Newbie
  • Hi there, I am using reactjs and trying get track using the web API but it only works when I use the track id from sample id that I got from  https://developer.spotify.com/console/get-t...
  • Hubo
  • Spotify Star
  • 304 Views
  • 1 replies
  • 0 likes
  • React
    track
    webapi
  • 304 Views
  • 1 replies
  • 0 likes

Spotify Authorization Problems

PlanFreeCountryUnited StatesDevice(Desktop)Operating System(Windows 10) My Question or IssueHello, I'm currently making an app on Desktop (no backend) with React where a user can see their top songs and artists. I'm using the Implicit Grant Flow Auth...

  • Casual Listener
  • Plan Free Country United States Device (Desktop) Operating System (Windows 10)   My Question or Issue Hello, I'm currently making an app on Desktop (no backend) with React where a u...
  • Slaeh
  • Casual Listener
  • 462 Views
  • 2 replies
  • 0 likes
  • Implicit Flow
    javascript
    React
    spotify api
  • 462 Views
  • 2 replies
  • 0 likes

Issue with Redirect URL when using react app + node on Heroku

I'm developing an app using the Spotify API with a React from end running on localhost:3000 and a node back end running on localhost:8888. The back end takes care of the authentication, where my redirect url is localhost:8888/callback. This is fine i...

  • Casual Listener
  • I'm developing an app using the Spotify API with a React from end running on localhost:3000 and a node back end running on localhost:8888.  The back end takes care of the authentication, where m...
  • tobikabla
  • Music Fan
  • 1397 Views
  • 2 replies
  • 0 likes
  • Developer
    heroku
    Node
    question
    React
  • 1397 Views
  • 2 replies
  • 0 likes

Get JSON from PUT request from Play endpoint

PlanPremium Operating SystemWindows 10 My Question or IssueHey guys, I'm using the SpotifyAPI with React and I made a PUT request to the Play endpoint transferUserPlayback. I noticed that I receive some JSON in the console after making the request bu...

Spotify api.png
  • Casual Listener
  • Plan Premium   Operating System Windows 10   My Question or Issue Hey guys, I'm using the SpotifyAPI with React and I made a PUT request to the Play endpoint transferUserPlayback. I...
  • 213 Views
  • 0 replies
  • 0 likes
  • React
    rest
    web playback sdk
  • 213 Views
  • 0 replies
  • 0 likes

401 Error in API Call.

I'm a design trying to learn to code through the Spotify API. I'm having a heck of a time getting my access_tokens saved to state and wondering if anyone has any advice. The code below will return a 401 but when I console.log(accessToken) it appears ...

  • Casual Listener
  • I'm a design trying to learn to code through the Spotify API. I'm having a heck of a time getting my access_tokens saved to state and wondering if anyone has any advice. The code below will return a ...
  • sickleandsycthe
  • Casual Listener
  • 4625 Views
  • 1 replies
  • 0 likes
  • api
    React
  • 4625 Views
  • 1 replies
  • 0 likes

Spotify SDK not connecting

PlanPremiumCountryCanada Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueWhen using react to connect to the SDK the SDK doesn’t initializePlease refer to this codeht...

  • Visitor
  • ...hen using react to connect to the SDK the SDK doesn’t initialize Please refer to this code https://github.com/hollowic/music-player/blob/master/src/App.js#L235 I was working on this fine last n...
  • 604 Views
  • 0 replies
  • 0 likes
  • React
    SDK
    useEffect
  • 604 Views
  • 0 replies
  • 0 likes