Share song to Instagram

I need to figure out how Spotify is allowing their users to share songs on Instagram Story. Any code or insights on how to get this button. Found some resources below.

https://github.com/ios-dev-bdg/share-to-instagram-stories/tree/master/share-to-instagram-like-spotify

Did you read the the Instagram docs?

Don’t think this Support Forum is the right place for Instagram / Spotify questions.

Just wanting some insight to see if anyone has done it before. I’ve done with Twitter a while back.

This is probably described in their documentation, as I already wrote.

head to any track, album, playlist, or artist profile in the Spotify app; open the Share menu (again, by tapping the “…” button); and click Instagram Stories…
what’s the deal?

I found out that this was released through IG as a Spotify integration from a partnership deal they had. I asking is there any way that this can be done with the available API?