0

I try to get specific user track list using this but it displays tracks from different users.

https://api.soundcloud.com/tracks.json?client_id=CLIENT_ID

I am also trying /users/{id}/tracks but I don't know how to get user id from SoundCloud?

brasofilo
  • 25,496
  • 15
  • 91
  • 179
villu
  • 41
  • 1
  • 1
  • 8
  • FINALLY , I got UserId using this "https://api.soundcloud.com/resolve?url=https%3A//soundcloud.com/userName&client_id=YOUR_CLIENT_ID" – villu Dec 18 '13 at 09:35
  • But DOnt Get User Tracks Using this http://api.soundcloud.com/playlists/MyuserId.json?client_id=YOUR_CLIENT_ID but its throwing error pls any one help this {"errors":[{"error_message":"404 - Not Found"}]} – villu Dec 18 '13 at 09:40

1 Answers1

1

It is already answered here: Getting specific user's track list with soundcloud API

In case anyone else wants to know:

you'll have to use /resolve as documented in the Soundcloud API

user_hash = @client.get('/resolve', url: 'https://soundcloud.com/{user_id}/')

Community
  • 1
  • 1
echo
  • 900
  • 1
  • 9
  • 17