0

I want to know about, is it possible to Fetch a Spotify music list without an Access token or Aothuentication in mobile flutter SDK or web API. because I want to only Fetch the Spotify music list in my flutter app. Thanks in advance.

gemelen
  • 619
  • 10
  • 18
Alpit Panchal
  • 709
  • 1
  • 7
  • 25

1 Answers1

0

The Spotify API requires app authentication or user authentication depending on the ressource.

Playlists are always associated with an user and require a valid Access Token (which means user authentication). See the playlists documentation here.

Both Public and Private playlists belonging to any user are retrievable on provision of a valid access token.

On the other hand, albums for example can be retrieved with just the app credentials and do not require an authenticated user.

Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
  • App Credential and authenticate user maybe both are same. – Alpit Panchal Apr 05 '21 at 08:39
  • No. App credential are the App ID and the App secrets that you get when creating an app on your Spotify Developer account. An access token is what you get once an user authenticates with Spotify through your app. https://developer.spotify.com/documentation/general/guides/authorization-guide/ – Quentin Hayot Apr 05 '21 at 08:41