What does it permit?
All SoundCloud resources are accessed and manipulated in a similar way. The OAuth2 authorization endpoint. Your app redirects a user to this endpoint, allowing them to delegate access to their account. The OAuth2 token endpoint. This endpoint accepts POST requests and is used to provision access tokens once a user has authorized your application.
Discover, connect and build
This script exposes the SC. It allows you to control the widget from the parent page the page the widget is inserted into. Widget accepts the reference to the iframe element or its id. Widget API Playground is a special page where you can view examples and see the results live on your screen. When you get the widget object with the help of the SC. Widget method, you'll have access to the following public methods:. The following methods are sorted out to a separate group called "getters" because they return a value and do not modify the state of the widget. Since communication between the parent page and the widget's iframe is implemented through window. Because of this, every getter method accepts a callback function as a parameter which, when called, will be given the return value of the getter method.