Help Wizard

Step 1

NEXT STEP

Spotify authorization?

Spotify authorization?

I'm trying to set up a simple shortcut to add the current playing Spotify track to a spotify playlist to keep record of the ones I like when I hear them on the flow.

I'm using applescript that for.

What I've found so far is that there are Spotify APIs that should meet my needs, but i'm failing at the last step.

More precisely, since I want to modify a private playlist, this api (1) : https://developer.spotify.com/web-api/console/post-playlist-tracks/corewalking demands an authorization token. This token can be retrieved manually, and so far so good, this Applescript is working :

4cc92463-7d7c-46e6-9837-5e42b22f5b92.jpg
4cc92463-7d7c-46e6-9837-5e42b22f5b92.jpg
Reply
1 Reply

Hi roywillia12,

You have to implement the Authorization Code Flow inside your app to get an access token. If you are using the iOS SDK, you can follow the steps under Set Up User Authorization of the iOS SDK Quick Start.

 

Also, there's a file named corewalking.pdf attached to your post instead of your code. Can you please try to upload your code again. Thanks in advance.

Suggested posts