Skip to content

Instantly share code, notes, and snippets.

Created Jan 24, 2019
What would you like to do?
return soundcloud id from playlist link
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src=""></script>
client_id: "id"
function resolveSCPlaylist(url) {
if (!url) {
alert('you have to fill the playlist URL input');
return false;
SC.get('/resolve/?url=' + url, {
limit: 1
}, function(result) {
if (result && {
alert('the playlist id is: ' +;
} else {
alert('playlist not found');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment