[Spotify Web API] Can't read private playlists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm attempting to create my own project with just the Python requests module, and I'm pretty sure I put the scope thing in the right place...
response = requests.post(
url='https://accounts.spotify.com/api/token',
data={
'grant_type':'client_credentials',
'client_id': client_id,
'client_secret': client_secret,
'scope': 'playlist-read-private'
},
headers={ 'Content-Type':'application/x-www-form-urlencoded' },
).json()
However, I'm only able to access my public playlists. What am I doing wrong? Is there another place I have to put the scope field?
Labels:
- Labels:
-
Question
-
Spotify Web API
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page