0
是否有可能在未经授权的情况下从开放组获得曲目? 我使用PHP API,我在这里找到解决方案:https://groups.google.com/forum/?fromgroups#!topic/soundcloudapi/XfxvE2P6P0c 但它不起作用。我可以在没有授权的情况下获得曲目吗?
正如我看到的JS Api可以做到的。
有没有解决方法?
是否有可能在未经授权的情况下从开放组获得曲目? 我使用PHP API,我在这里找到解决方案:https://groups.google.com/forum/?fromgroups#!topic/soundcloudapi/XfxvE2P6P0c 但它不起作用。我可以在没有授权的情况下获得曲目吗?
正如我看到的JS Api可以做到的。
有没有解决方法?
上传我的课: http://pastebin.com/xg6Y5rsR
用途:
<form action="index.php" method="post">
Url soundcloud: <input type="text" name="fname" /><br />
<input type="submit" value="Submit" />
</form>
<?php
if($_POST['fname']){
include("class.soundcloud.php");
$sCloud = new soundCloud();
$filename = $sCloud->exploserChaine($_POST['fname']);
$link = $sCloud->exploserChaine($sCloud->getMp3($_POST['fname']));
if(!$link)
echo("No links !");
else
echo ('<a href="http://media.soundcloud.com/stream/'.$link['5'].'?stream_token=Own3d">Download '.$filename['5'].'.mp3</a>');
}
玩得开心;)