SoundCloud Api - How to make (customize) playlists as favorites?

Is there any way to set playlist favorites in SoundCloud

For selected tracks I use

 SC.put('/me/favorites/'+track_id);

but doesn’t work in the playlist. It seems that “/ favorites” only shows tracks and playlists? Perhaps there is another way to check if the playlist has been marked as “but”, but I did not find anything useful.

When a playlist gets an error

{"errors":[{"error_message":"404 - Not Found"}]}

Thanks in advance.

+4
source share
1 answer

That will work. Added debug callback.

SC.put('/e1/me/playlist_likes/' + playlist_id, function(data, err) {
    if(err) {
        alert(err.message);
    }
    console.log(data);
});
+3
source

All Articles