Apple Music URL Scheme

后端 未结 1 1398
北海茫月
北海茫月 2021-02-09 07:21

I need to know the URL Scheme of Apple Music to open a specific song. Up to now I was using the link like this:

https://itunes.apple.com/us/album/monsieur-couste         


        
1条回答
  •  既然无缘
    2021-02-09 07:31

    The structure of the links has changed there is now a flag in there for the open method:

    iTunes:

    https://geo.itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&app=itunes
    

    Apple music:

    https://geo.itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&mt=1&app=music
    

    Note the app= at the end

    There is a link generator here: https://tools.applemediaservices.com/ but I would imaging that you are generating these from your own log of apple ID's yes?

    Also you will need to change the store, I am /au/ because I am in australia, these links don't always automatically forward the user and can give "Not available on your store" errors.

    To get to a specific track you use this:

    https://itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&app=itunes&ign-mpt=uo%3D4#
    

    Note the change in uo part, I am not sure how this particular part is generated as I got out of the industry a year ago but there is more information here: https://www.apple.com/itunes/affiliates/resources/documentation/tools_en.html unfortunately being I no longer work in the industry I am not classed as an affiliate any more.

    0 讨论(0)
提交回复
热议问题