Deezer InApp - Getting started

Initialize the SDK

The second thing you will have to do is to initialize the SDK with the options you want.
In an InApp Application, unlike an application that's hosted on your website, you don't need to put your app_id nor your channel_url in the init options.
Because you are in a Deezer context, these parameters are set for you automaticaly.

In this context, you have access to a new option ajax, which will define the way your application navigates between pages.
Learn more about Navigation

Waiting for sdk to be ready... 

You can also access to the ready option which is the same as the function DZ.ready
The method DZ.ready accepts a function as parameter, which will be executed after the SDK is initialized.
All code that interacts with the Deezer Javascript SDK should be placed inside a DZ.ready function (unless you are absolutely sure that the SDK is loaded and ready)

DZ.ready passes some useful parameters to this function: learn more about DZ.ready