http://developers.soundcloud.com/docs/api
When I look at the API docs, I see
SC.stream("/tracks/293", function(sound){
sound.play();
});
When I look at the track I uploaded, it only provides me the permalink. How do I get the track ID from the website? Do I always have to do a /resolve to get the ID?
It normally takes up to 5 business days for a track to become monetized on SoundCloud. However, if you want to make sure you do not miss out on any monetized streams, you can submit tracks for monetization while they are still private or unreleased!
Any track that was manually uploaded will now be organized by the date it was made public within SoundCloud's “Tracks” tab. The same organization is applied to the “All” as well as the “Streams” tab.
Check your upload allowance, and make sure you've got space to upload. Make sure you follow our upload requirements. Confirm your email if this is not done. Check our Status Blog to make sure that there are not any interruptions on site that could cause you difficulties loading pages.
This is probably more manual steps than /resolve, but it is "from the website." The sound id also appears in the embed code when you go to the sound and click "Share".
For example, if you go to a sound page, e.g.:
https://soundcloud.com/lowcountrykingdom/another-ordinary-day
Then click "Share", which brings up a pop up. Click "Embed" to switch to the embed tab, and copy the Embed code, which will look something like:
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/47580057&color=ff6600&auto_play=false&show_artwork=true"></iframe>
Note the ID in the value of the url query parameter:
url=https%3A//api.soundcloud.com/tracks/47580057
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With