The API method https://api.soundcloud.com/tracks.json?oder=hotness&q= used to return great hot tracks with many plays on soundCloud. It now returns a bunch of random tracks with 0 plays. Has anyone else noticed it? Is there another way to get a bunch of hot tracks available on SoundCloud via the API?
They removed hotness params.
Check here http://developers.soundcloud.com/blog/removing-hotness-param
Related
I have a podcast which I am accessing by RSS to embed it in our web site. But I need to display the play count of all episodes. I can find the play count in the admin panel, but not in the RSS.
On the other hand, in the API documentation, there's a play_count field for a track. I guess if I loop through all tracks and fetch play_count, then I will receive the overall play count, right?
If that's true, I would like to ask the team to let me create an application, because it seems that's the only way to receive a secret and access the API.
Thank you
I'm trying to get the playlist information fromSoundCloud HTTP API and I'm getting the playlist information and the track_count return the right number for tracks that I have in the playlist but the tracks is empty.
I have tried the following links: https://api.soundcloud.com/playlists/215861217
The track_count returns for this playlist is 2.
Any idea why?
This is probably related to a change in the settings from the soundcloud developers. If you try to get the track information of the tracks of your playlist you get a 403 forbidden:
https://api.soundcloud.com/tracks/106185859?client_id=...
https://api.soundcloud.com/tracks/243762135?client_id=...
SoundCloud emailed back saying they have introduced an option for right holders to disable all API access to tracks by default, returning this 403 error when requested. They also said it's understandable that this is a confusing feature, and that they hope to make it more clear.
These type of questions should not be handled on stackoverflow, but unfortunately that is the only way to contact the soundcloud developers according to their documentation. I've tried reaching out to them on twitter, but so far no response.
My team and I are looking to use the embedded SoundCloud widget for a site we're building. We'd like to use the API to track the total number of plays by tracking the playback_count property for each track, however I've not been able to find specific information on how/when this is incremented. I'm looking to answer:
Does is only track completed plays? Or started plays?
Does it track multiple plays by the same user/client?
Does it track plays made by the streaming URL (in a custom player) or only the embedded player/SoundCloud website?
It appears that the playback_count is not updated immediately, is the playback_count updated (nightly/hourly etc.)?
Is there a list of supported browsers/devices for the
embed?
SoundCloud increments the count as soon as the play button is clicked (reference).
Plays are tracked by any user which is not the track owner (see above reference).
Tracks are only counted by the web player, mobile app, mobile website, and official embeds. Requests to any of the /streams endpoint values (ex: http_mp3_128_url), do not count towards the play count.
playback_count values may be invalid due to caching (reference).
The embed widget is supported by most browsers which support HTML5 media playback. See these blogs posts as well as SoundCloud's own HTML5 audio benchmark project here.
I want to make a website with my own audio player (with waveform.js but own styled), but at the same time take my audio tracks from soundcloud or mixcloud, is this possible?
I have read the documentation for soundcloud api and realized that yes, but to be sure I need to check in practice.
Therefore, I decided to ask you first, is it possible to take from soundcloud or mixcloud mp3, artist name, trackname and count of likes (count both from my site and sc/mc)? If not, what parts of native sc/mc player I have to use at least?
Thanks.
yes this is possible using the soundcloud api.
<audio src="http://api.soundcloud.com/tracks/TRACKID/stream?client_id=CLIENTID" controls="true" preload="auto"></audio>
replacing TRACKID and CLIENTID with their respected values.
I was about to get the facebook video shares. I have tried the below URLs for getting the share counts, it seems to be giving the URL share counts instead of the actual video sharer counts.
https://developers.facebook.com/docs/reference/fql/link_stat/
(and) using Graph API
For example:
The below video has video share counts as 384 as of Mar29 2012
https://www.facebook.com/video/video.php?v=23155051776
But the above methods are giving the share counts as either 1 or 5. Please let me know the way to get the video sharer counts using API methods.
Thanks in advance.
This is currently not possible, you should add your voice to the feature request bug here:
https://developers.facebook.com/bugs/289679207771682