// create a client object with your app credentials $client = new Services_Soundcloud($clientId, $clientSecret); // resolve track URL into track resource $track = json_decode($client->get('resolve', array('url' => $url)));
And I've got fatal error:
Fatal error: Uncaught exception
'Services_Soundcloud_Invalid_Http_Response_Code_Exception' with message
'The requested URL responded with HTTP code 302.'
in /path-to-project/Services/Soundcloud.php:942
Seems that CURL doesn't follow redirects. It is possible to fix this by setting certain CURL option in Soundcloud class. I've added next to class constructor(line 234):
$this->_curlOptions[CURLOPT_FOLLOWLOCATION] = true;
After that everything started working like a charm.
Problem is already discussed on project google group, so I think the fix will be added to the project repo on GitHub soon.
More are now using Sound Cloud and glad that you share this code. That would help a lot.
ReplyDeleteUPS BATTERIES
Blazing Star softech team is known for the skills, made for creativity and innovation and provides the best software solution ever.
ReplyDeleteSoftware Development Company in Lucknow
Web Development Company in Lucknow
Software Company in Lucknow
Much appreciated all that much for giving incredible data here... I like your site page. Much appreciated all that much and keep publishing..... I'm anticipating your new material.
ReplyDeleteWebsite Design Agency in Bangalore | Website Development Companies Bangalore
Thanks for sharing the information. It is very useful for my future. keep sharing.
ReplyDeleteSignature:
Versión en facebook en español descargar a los países hablan Español: facebook entrar direto agora , facebook en español para and facebook entrar direto
This is a great post. I like this topic.This site has lots of advantage. It helps me in many ways.Thanks for posting this again.
ReplyDeleteWeb development Company in India Company | Web development Company Bangalore
Web Development Company in Bangalore | Responsive Web development
Thanks for all your information, Website is very nice and informative content.
ReplyDeletehttp://lennyfacetext.com
Penyusunan kartu harus Anda lakukan sesuai dengan aturannya. Untuk pembagiannya adalah 5-5-3. Maksudnya bagian bawah 5 buah kartu, bagian tengah 5 buah kartu
ReplyDeleteasikqq
dewaqq
sumoqq
interqq
pionpoker
bandar ceme terpercaya
hobiqq
paito warna terlengkap
bocoran sgp
This is one of the most informative web links where I often land to check some writing content for my daily assignments. Thank you for sharing this. Check our site picbear to see more about instagram.
ReplyDeleteI am very ecstatic when I am reading this blog post because it is written in a good manner and the writing topic for the blog is excellent. Thanks for sharing valuable information.
ReplyDeleteWeb Design and Development Bangalore | Web Design And Development Company In Bangalore | Web Design And Development Company Bangalore | Web Development Company Bangalore | Website Development Company In Bangalore
very nice article,Its helps beginners to make use of this article, thank you for sharing .
ReplyDeletePlease keep sharing.
Also go through with digitalhan web designing and development devices.
web development services
thanks for posting
ReplyDeleteangularjs online course
Angular Online Training
In-depth insights. Easy to understand the concept
ReplyDeleteWeb App Development Company in Bangalore
Best Ecommerce Development Company in India
Imcrinox is the best mobile app development and web development company in India
ReplyDeleteMobile App Development Companies in Bangalore
Web Design Companies in India