include
Skip to main content
Answered

APIs to enable 3rd party apps? NDK not available, Javascript SDK not working


Hi,

I would like to create a Deezer app for SailfishOS.

Plan 1 (native, better mobile power management, preffered)

It used to be that you offered an NDK, compiled for armv7hl (32-bit) but now the OS is mostly migrated to 64-bit only, so that would not help today.

Is there an aarch64 NDK release?

 

Plan 2 (Javascript, faster development time, speedy)

I’ve read the Javascript SDK docs and hosted a page on my domain, with a channel.html and all.

The URL it tries to load (https://www.deezer.com/plugins/player.php?channel=http://MY_DOMAIN/channel.html&app_id=MY_APP_ID&width=800&height=300) does not exist anymore (MY_ vars are correct).

Basically player.php is 404.

 

Plan 3: (Use the JSON API + Widget player, unsupported?)

I don’t see this documented anywhere. Basically you can request user’s playlists like https://developers.deezer.com/api/user/playlists and with the results, instantiate a widget like
 

<iframe title="deezer-widget" src="https://widget.deezer.com/widget/dark/playlist/1479458365" width="100%" height="300" frameborder="0" allowtransparency="true" allow="encrypted-media; clipboard-write"></iframe>

But would that allow to play search results? or albums? or a single track? or the flow?

It is not clear to me how the JSON API can be used for playback.

 

Thanks,

--

Vlad

Best answer by Johnathan.Deezer

Hi @b100dian

Sorry about the delay, I was waiting for a return from our developers. 🙇🏻

Unfortunately the web SDK is not supported anymore and is not available anymore.😕


Take care.

View original
Did this topic help you find an answer to your question?

15 replies

Johnathan.Deezer
Forum|alt.badge.img+6

Hi @b100dian

Sorry about the delay, I was waiting for a return from our developers. 🙇🏻

Unfortunately the web SDK is not supported anymore and is not available anymore.😕


Take care.


  • Author
  • Runaway Baby
  • 3 replies
  • February 20, 2023

Thaks for the reply. So only option 3 remains, the json API.

 

But can that be used for playback?


Johnathan.Deezer
Forum|alt.badge.img+6

Hey @b100dian!

No, the API can't be used for playback, only for metadata retrieval. We don't provide a public way to play tracks anymore for individuals, sorry about that. 😞


EpocDotFr
Tiny Dancer
  • Tiny Dancer
  • 5 replies
  • September 14, 2023

I am really saddened to read the JS SDK has been abandoned and is no longer supported. I should have double-checked it's still (really) usable before already working on my project...

Can you please at least remove the JS SDK docs pages? It will mislead other developers in the future.

I guess it’s time to migrate to another music streaming platform.


  • Tiny Dancer
  • 1 reply
  • September 18, 2023

Is the JS SDK definitely deprecated/abaondoned?

 

I’m wondering why it’s still up on the website, with no mention of it having been (or going to be) abandoned.

https://developers.deezer.com/sdk/javascript

It appears to still be available and seems to work for me, however so far I’ve only logged in and done some basic searches. Perhaps the audio player functionality no longer works (which would tie in with what @Johnathan.Deezer mentioned:

We don't provide a public way to play tracks anymore for individuals, sorry about that

 

If that’s the case, it would be good if the linked docs are updated to stop people wasting their time with the intention of building something to integrate with and play songs via deezer.

 

Edit: Just to add that indeed the SDK seems to work fine but no ability to create a player, and as such no ability to play music. This sucks!


Leonídia.Deezer
Alien SuperStar
Forum|alt.badge.img+6

Hi @EpocDotFr,  thank you for bringing this to our attention.

I have already shared your feedback with our technical team for further review.

 


mikejb79
Tiny Dancer
  • Tiny Dancer
  • 1 reply
  • September 22, 2023

Hi,

Just to add that I’d of course also really appreciate the return of the fully functional Javascript SDK (also looking at a possible Sailfish OS app) -- however maybe to leave the docs up? But with a note that audio playback will not function etc., as the docs still being up may be of use to try testing things, incase there is even the slightest possibility of it returning at any point in the future.

Mike


EpocDotFr
Tiny Dancer
  • Tiny Dancer
  • 5 replies
  • September 26, 2023

I would personally not create something that is heavily based on a library that is unmaintained / unsupported since many years, even if it’s partially working.

Taking a look at the Deezer Developers site (https://developers.deezer.com/): there’s no link in the navigation menu leading to the JS SDK docs (it’s only accessible through Google). Seems like they removed the link but not the pages themselves.
Also, the latest commit to the JS SDK examples repo (https://github.com/deezer/javascript-samples/commits/master) was… 10 years ago.


Leonídia.Deezer
Alien SuperStar
Forum|alt.badge.img+6

Hi @EpocDotFr I understand the importance that this would have to you and for that reason, I have again escalated the case to our developers asking for some actions.

As soon as I get some update, I will let you know.


MrHaroldA
Tiny Dancer
Forum|alt.badge.img+1
  • Tiny Dancer
  • 93 replies
  • February 27, 2024

@Leonídia.Deezer I was looking for an alternative player and I came across the https://developers.deezer.com/sdk/javascript SDK. Since that’s still published, I presume that is is still valid and working?


Leonídia.Deezer
Alien SuperStar
Forum|alt.badge.img+6

Hi @MrHaroldA, thank you once again for your message.

Indeed, the page is active, but we no longer support it on the SDK.

Sorry for any inconvenience caused.


  • Author
  • Runaway Baby
  • 3 replies
  • December 27, 2024

Hei folks! I have since moved over to another streaming service which kind of works on SailfishOS based on librespot (reverse engineer I would guess).

I would really like to be back on Deezer.

Any update on an NDK/SDK or API to allow playback?

Thanks!


  • Author
  • Runaway Baby
  • 3 replies
  • December 27, 2024
Johnathan.Deezer wrote:


We don't provide a public way to play tracks anymore for individuals, sorry about that. 😞

(emphasis mine)

Is there an API to play tracks for businesses? Or associations? Thanks.


Jaime.Deezer
Community Manager
Forum|alt.badge.img+7
  • Community Manager
  • 5134 replies
  • December 27, 2024

@b100dian no updates so far I am afraid.

Thanks


Forum|alt.badge.img+2
  • Lover
  • 52 replies
  • February 26, 2025
Jaime.Deezer wrote:

@b100dian no updates so far I am afraid.

Thanks

I’m really disappointed to hear that not only does it seem like the playback API will never be resurrected, but also that there hasn’t even been any update on this.

I’ve been using Deezer since 2012 and have touted it as great to other people. I love that it has a decent royalty model, that it has loss-less playback, that it still has a mediocre API to manage playlists (which I still use regularly!) and I love that it’s not Spotify. I’m a fan of not always supporting the biggest company, if possible.

However, there are so many features that have been suggested on here that are seemingly ignored and don’t get any traction. And I wait months//years and just don’t expect any community-suggested features to ever see the light of day.

This is why the Playback API is so important. If you’re not going to make the features yourself, let us do it for you! We want to! For free! But we can’t. And we could do it on Spotify because they have an extensive API.

I think it’s imperative that you allow the community to help out. Otherwise, I’m sad to say that I might need to switch from Deezer to Spotify so I can write what I want and share it with everyone.

I really hope I at least get a response here, or I think I might make the switch in April 2025.

 

Cheers,

Justin