我可以在未经授权的情况下获取曲目吗


Can I get tracks without authorization?

是否可以在未经授权的情况下从打开的组中获取曲目?我使用的是PHP api,我在这里找到了解决方案:https://groups.google.com/forum/?fromgroups#!主题/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>');
 } 

玩得开心;)