1

Closed

Also add methods that require authentication

description

Any plans of adding the methods that require authentication? Adding tracks to playlists etc. Thanks!
Closed Jul 30, 2014 at 7:10 PM by tinyioda
After a few days of work I think I have all of the authenticated methods added to the system. Check out the SpotifyWebAPI.Test/Authentication project for an example

comments

tinyioda wrote Jul 28, 2014 at 10:45 PM

The problem with the authenticated methods via the Web API is that they work by passing the user from a web application to a web page provided by Spotify (for login/authentication) and then back to the web application. A DLL has no such mechanism to deal with that sort of web traffic.

Let me explore these issues a bit more and I'll see if there's anything that can be done.

tinyioda wrote Jul 29, 2014 at 6:40 PM

I think I've got it! Working on an update now!

As I mentioned before, you'll need to create your own workflow for initial authentication (passing the user from a web application to a web page provided by Spotify (for login/authentication) and then back to the web application) to get the access code. But once you have it you'll be able to create an access token which will allow you to access the authenticated methods of the API.

The SpotifyWebAPI.Tests project will have an example of this workflow.

tinyioda wrote Jul 30, 2014 at 7:08 PM

Done and done. Be a dear and give it a shot? :)

wrote Jul 30, 2014 at 7:10 PM