Announcements

Help Wizard

Step 1

NEXT STEP

Topics with Label: php

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
  • 22599 Views
  • 0 replies
  • 61 likes
  • Discussion
  • 22599 Views
  • 0 replies
  • 61 likes

Code not Printing playlist details

Hi, I have this code but whenever I submit a URL into the box, it should output the details of the playlist but nothing is showing. Can someone help please? "; echo "Status Code: " . $status_code . "\n"; echo json_encode( $data, JSON_PRETTY_PRINT ); ...

  • Casual Listener
  • Hi,   I have this code but whenever I submit a URL into the box, it should output the details of the playlist but nothing is showing. Can someone help please?   <?php // Check i...
  • Ximzend
  • Roadie
  • 239 Views
  • 3 replies
  • 0 likes
  • api
    development
    php
    Playlist
  • 239 Views
  • 3 replies
  • 0 likes

Solved!! Central OAuth2.0 Authorization on the Backend-Side using PHP and curl

I am creating an application which aims at automatically creating Spotify Playlists in a central Spotify account (not the account of the end users). On the backend side I am using PHP to authorize this central user, and it is working as long as I am ...

  • Newbie
  • I am creating an application which aims at automatically creating Spotify Playlists in a central Spotify account (not the account of the end users).   On the backend side I am using PHP to a...
  • Ximzend
  • Roadie
  • 571 Views
  • 1 replies
  • 0 likes
  • authorization
    curl
    OAuth
    php
  • 571 Views
  • 1 replies
  • 0 likes

{"error":"unsupported_grant_type"}

Hey, I'm using the php sdk api https://github.com/jwilsson/spotify-web-api-phpand trying to connect the user. I log in using the link https://accounts.spotify.com/authorize? client_id=--id-- &redirect_uri=https%3A%2F%2Fwww.testsite.com%2Fspotify_conn...

  • Roadie
  • Hey, I'm using the php sdk api https://github.com/jwilsson/spotify-web-api-php and trying to connect the user. I log in using the link     https://accounts.spotify.com/authorize? c...
  • magnusmurel
  • Roadie
  • 2670 Views
  • 1 replies
  • 0 likes
  • api
    Error
    php
  • 2670 Views
  • 1 replies
  • 0 likes