开发者账户帮助
管理服务配置
Apple Music Feed
Members of the Apple Developer Program or Apple Developer Enterprise Program can integrate with Apple Music Feed to retrieve a metadata from the Apple Music catalog. To access the Apple Music Feed, visit Certificates, Identifiers & Profiles to create a Media ID and private key to sign your JSON Web Tokens.
Configure a Media ID for Apple Music Feed
If you’re already using a Media ID for MusicKit or ShazamKit, you can add the Apple Music Feed service to the same Media ID and authorization key.
- In Certificates, Identifiers & Profiles, click Identifiers in the sidebar.
- On the top left, click the add button (+), select Media IDs, then click Continue.
- Enter your website name or another unique name as the Description.
- Enter a reverse-domain name style string for the identifier (e.g., “media.com.companyname.my-music-id”).
- Enable Apple Music Feed, then click Continue.
- Click Register, then click Done.
Configure an authorization key for Apple Music Feed
First, register a Media ID for each service that uses the Apple Music Feed.
- In Certificates, Identifiers & Profiles, click Keys in the sidebar, then click the add button (+) on the top left.
- Under Key Name, enter a unique name for the key.
- Select Media Services, then click Configure.
- Select the Media ID enabled for Apple Media Feed, then click Save.
- Click Continue, review your key configuration, then click Register.
- Click Download to obtain the authorization key used to communicate with Apple Music Feed.
- Click Done.
Required role: Account Holder or Admin.
Key management notes
- You can associate two keys with each identifier to support key rotation.
- Save the authorization key in a secure place, as it’s not saved in your developer account and you won’t be able to download it again. If the Download button is disabled, you previously downloaded the key.
- If you suspect a private key is compromised, first create a new private key associated with the Media ID. Then, after transitioning to the new key, revoke the old private key.