MaxURL SoundCloud

From Cycling '74 Wiki
Jump to: navigation, search

In this example, we'll get an API key from Soundcloud , and use it in Javascript code to form an XMLHttpRequest

The first thing you need to do is go to your

Soundcloud developer page

And register a new application. Once you have done that, Soundcloud will give you a "client id" for that application.

Open the project for this example, you can download it here

soundcloud patcher.png

If you double click on the js object, you will see the JS code

Enter your Soundcloud client ID in line 8 of the JS code.

soundcloud js.png