How can I play songs on spotify through my app?

Hi, I want to run playlists and songs from spotify in my application but without actually opening spotify (just play the song in the background, like in Waze).
I realized it could be done with the API but I didn’t quite understand how (here is a link to connect with the API: Web API | Spotify for Developers)
How can I do this?

have you tried as they said?

with Web component , set web address to ( for example: http://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6)

and call web get, then as they used id get response = 200 then get content

try it and then post which error or problem you are facing

3 Likes

Can you send me an example?
:sweat_smile:I didn’t understand that much

I want the assistant I built be able to play songs and playlists (like the list of songs I liked, play a song list of any singer or playlist I created) from spotify,
but without opening spotify, I just want to hear the song in the background

A very good way to learn App Inventor or Kodular is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Tutorials for MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun

3 Likes

for that i need some time to make account on spotify and test that, then if i succeed i will back to you.

1 Like

Ok thank you

Going above and beyond. Congratulations.

Someone know how can we do it now? :sweat_smile:

1 Like