I am attempting to use the soundcloud api and authenticate my account, and this site https://github.com/mptre/php-soundcloud/wiki/Oauth-2 explains to use a git command from github to download the repository. i have tried downloading manually the files but there were errors in them. this command seems to be doing nothing : $ git clone git://github.com/mptre/php-soundcloud.git
, in fact it's giving me an error.
full code :
<?
$ git clone git://github.com/mptre/php-soundcloud.git
$soundcloud = new Services_Soundcloud('somekey', 'someotherkey', 'wonderfulworldofchris.com/soundcloud');
$authorizeUrl = $soundcloud->getAuthorizeUrl();
?>
<a href="<?php echo $authorizeUrl; ?>">Connect with SoundCloud</a>