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).
Related
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.
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.
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.
Is there any API to add the contents of an album or a existing playlist to a new playlist? Based on the current documentation, it seems that only addition of a track to a playlist is supported. I'm hoping to avoid bulk add (by fetching the content of a playlist) and then adding them as tracks.
There are nice convenient APIs to add an album to MyLibrary. It would be nice to have something similar to add an album to a playlist.
There isn't currently a way to do what you ask. You have to get all the track ids from the playlist or album and then add them to the new playlist. You can bulk add the tracks, at least, but you'll still have to do it in two separate steps for now.
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.