"Add to liked songs" button for Spotify


I'm currently using BTT with the GoldenChaos preset and was wondering if it was possible to add a "Like" or "Add to liked songs" button in the "Now playing" widget. Just like the actual Spotify app, I'd like it to show an outline of a heart if the current song is not saved, and a green filled in heart if it's currently in my Liked songs. Is this possible? If so, how would I go about doing this?

Also: I've set the Now playing widget to stay on the touch bar even if nothing is playing, but it doesn't seem to work. Any advice?

I started down this path but quickly lost interest due to what was needed - I'm just not familiar with the languages needed. Basically what you'll need to do is make a Spotify 'app' that has the right authorizations as well as make a script for BTT that sends whatever request you want, through the Spotify 'app' you made. I stopped just because I'm not familiar enough with the stuff needed to make it work. If you do get this working, please share it here.