Help Wizard

Step 1

NEXT STEP

Topics with Label: React

Labels

Forum Posts

Important: App review and quota extension waiting times

The Spotify for developers platform helps many bring their ideas to life. Whether it's a short term app helping an artist’s release or something more long term - there is always a chance of success. Things start to grow and then you might also need w...

  • Moderator
  • Moderator
  • Naianasha
  • Music Fan
  • 18679 Views
  • 133 replies
  • 20 likes
  • 18679 Views
  • 133 replies
  • 20 likes

INVALID_CLIENT: Invalid client

PlanPremiumCountry'MericaDeviceComputerOperating SystemWindows 10My Question or IssueI have been getting this annoyingly persistent INVALID_CLIENT: Invalid client erroe. This is my codeconst client_id = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";const red...

  • Casual Listener
  • ...rl += "?response_type=token"; url += `&client_id=${client_id}`; url += "&scope=playlist-modify-public"; url += `&redirect_uri=${redirect_uri}`; let accessToken; const S...
  • jeffhenrichs
  • Casual Listener
  • 569 Views
  • 5 replies
  • 0 likes
  • Invalid Client ID
    React
  • 569 Views
  • 5 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 ...
  • Liz994
  • Newbie
  • 12323 Views
  • 2 replies
  • 0 likes
  • api
    React
  • 12323 Views
  • 2 replies
  • 0 likes

Trouble with displaying public artist info on NextJS/Typescript App

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueI'm trying to display a list of artist albums by artist ID - with this code snippet & a clien...

Screenshot 2023-10-12 at 10.26.52 AM.png
  • Newbie
  • ...eed users to login, just display public information of all albums from an artist ID             import React, { useEffect, useState } from "react"; import S...
  • Ximzend
  • Roadie
  • 196 Views
  • 1 replies
  • 0 likes
  • "Artists page"
    React
    webapi
  • 196 Views
  • 1 replies
  • 0 likes

react native open spotify app for authentication

PlanPremiumDeviceIOS / Android Hello, I would like to authorize my app on the spotify application and not on the web app, except that https://account.spotify.com does not open with the spotify application, what should I do. It already work with webap...

  • Casual Listener
  • Plan Premium Device IOS / Android   Hello,   I would like to authorize my app on the spotify application and not on the web app, except that https://account.spotify.com does not op...
  • tarsinzer
  • Newbie
  • 1127 Views
  • 3 replies
  • 4 likes
  • auth
    Linking
    React
  • 1127 Views
  • 3 replies
  • 4 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
  • Community Legend
  • 1235 Views
  • 1 replies
  • 0 likes
  • React
    webapi
  • 1235 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
  • 1611 Views
  • 2 replies
  • 0 likes
  • Implicit Flow
    javascript
    React
    spotify api
  • 1611 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
  • 2097 Views
  • 2 replies
  • 0 likes
  • Developer
    heroku
    Node
    React
  • 2097 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...
  • 350 Views
  • 0 replies
  • 0 likes
  • React
    rest
    web playback sdk
  • 350 Views
  • 0 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...
  • 1462 Views
  • 0 replies
  • 0 likes
  • React
    SDK
    useEffect
  • 1462 Views
  • 0 replies
  • 0 likes