get music from Mixcloud/soundcloud and use with own player? - soundcloud

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.

Related

How to get the full track mp3 url?

Through the track api I got preview field,it can provide a 30 second address.but I want get a full track mp3 url, excuse how to get the full track mp3 url by deezer API when I have a Premium+ users token.Thinks.
The only way to play a full track is by using our SDKs available here: http://developers.deezer.com
There is no possibility to retrieve the MP3 URL.

Search for tracks in Deezer playlist

In the Deezer API, is it possible to search for tracks in a specific playlist? Something like http://api.deezer.com/search/track?playlist=785141981&q=felix.
I don't think you can.
You will have to load the playlist with http://api.deezer.com/playlist/785141981, then look for the tracks.data property.
You will have all the tracks for this playlist then you can do the search manually.

SoundCloud search API order by hottnes

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

Spotify Playlist URl

I'm working with Spotify. I've Spotify playlist with me. Now the question is how to obtain the url from that playlist in order to play the song??
SPPlaylist has a spotifyURL property, as does SPTrack (and pretty much every other metadata object).

Streaming video from Facebook

I want to stream a video from Facebook to my site and use my own custom video player (flowplayer for instance) to play it. Basicly I want to access the registered user's videos and play them in my application. is it possible? If it is, how can I achieve that?
Fairly easy, but there are a few steps to go thru.
Grab a list of their videos from the Graph API me/videos using their user access_token
Present user with list of their videos, let user select video to watch.
For the id of the video selected, call the Graph API and FQL the src or src_hq which gives you the link to the mp4 of the video
Point your custom player to the mp4 link.