How to get the full track mp3 url? - deezer

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.

Related

can you load videos in flutter through an api?

I found this article to upload videos but it already has the urls of the videos written.
I need to pass the videos through an api.
Any ideas??
https://medium.com/#sanjeevmadhav03/preloading-videos-in-flutter-4b65cf0681c6
Check if your api endpoint Supports upload of binary files. If it does, check if you're given url of the location of the video

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

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.

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.

How can I download a video from Facebook using GraphAPI?

I want to download a video from facebook to the clients local drive. I saw a few browser plugins and Facebook apps that are able to that and I was wondering how it can be done using the GraphAPI or in any other way.
First, you get the Graph API object. If the object is public, it's simple, just get https://graph.facebook.com/10151651550011063. (Where the number is the object's ID, equal to the ?v=OBJECTID in the facebook video URL.)
If the object is not public, you need a valid access_token, and the Graph API url becomes something like https://graph.facebook.com/10151651550011063?access_token=DFSDSGSFDGFGDSblabla
Then, in the Graph API object, you'll find the video download link under source.
Refer Below Link. Might help you
http://developers.facebook.com/docs/reference/api/video/
1/ You can get source video by api but it only in sd quality.
2/ If you need to get source video by api, make sure you know to get accesstoken by this way:
Go to https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed
Search for EAAA... it is your accesstoken.
3/ https://graph.facebook.com/v10.0/(page/group/userid)_videoid?fields=source&access_token=your_accesstoken
example https://graph.facebook.com/v10.0/1389311341281276_2668264723385925?fields=source&access_token=your_accesstoken
finally you can get private video or public video from facebook by graph api
$idPage/feed?fields=message,link,created_time,type,name,id,source
source => will return url mp4 video post
You cannot download videos using api.
You can just get there links,likes,comments etc.

Play MP3 on facebook wall making it impossible to download the file

I need a possibility to insert a flash mp3 player on a facebook wall entry. I know I can do this just by posting a mp3 URL or by using fb:mp3, but both make it possible for the user to download. Due to legal reasons this must not be possible.
Can anyone point me to a mp3-player-app that can do this, where the file URL is encrypded / hidden?
Flowplayer has an option to stream the audio so that it cannot be downloaded. See the section titled "Secure your audio files from direct download". This should work on Facebook.