Please check your E-mail!
If you are making JavaScript calls from a domain different from Deezer's, you will hit CORS restrictions. Use Deezer's official JavaScript SDK instead of trying to call the API directly from client‑side code.
Acquiring a user token requires setting up a developer account and implementing a standard OAuth 2.0 authentication flow. Step 1: Create a Deezer Developer Account
// Refresh endpoint app.post('/refresh', async (req, res) => const refresh_token = req.body; const response = await axios.get('https://connect.deezer.com/oauth/access_token.php', params: app_id: APP_ID, secret: APP_SECRET, refresh_token ); const params = new URLSearchParams(response.data); res.json( access_token: params.get('access_token'), refresh_token: params.get('refresh_token'), expires_in: params.get('expires') ); );
A: Deezer has restricted the creation of new developer apps on their platform for the general public. This has made the unofficial ARL token method the primary way for individual hobbyists to access their own data.
To obtain a Deezer User Token, follow these steps:
If you are making JavaScript calls from a domain different from Deezer's, you will hit CORS restrictions. Use Deezer's official JavaScript SDK instead of trying to call the API directly from client‑side code.
Acquiring a user token requires setting up a developer account and implementing a standard OAuth 2.0 authentication flow. Step 1: Create a Deezer Developer Account
// Refresh endpoint app.post('/refresh', async (req, res) => const refresh_token = req.body; const response = await axios.get('https://connect.deezer.com/oauth/access_token.php', params: app_id: APP_ID, secret: APP_SECRET, refresh_token ); const params = new URLSearchParams(response.data); res.json( access_token: params.get('access_token'), refresh_token: params.get('refresh_token'), expires_in: params.get('expires') ); );
A: Deezer has restricted the creation of new developer apps on their platform for the general public. This has made the unofficial ARL token method the primary way for individual hobbyists to access their own data.
To obtain a Deezer User Token, follow these steps: