@Polyphonic thank you for your answer!
But i have another case.
I'm developing app which main feature is to show you what your friends have listened recently.
I'm using MusicKit to get MusicUserToken, then i save this token to my backend and then use it to update information about user's last listened tracks (using this method - https://developer.apple.com/documentation/applemusicapi/get_recently_played_tracks of AppleMusicApi). The idea is that a user can login once and then not login to the app every day.
But now I'm using the method above on backend and 1-2 days after the MusicUserToken is created, it starts returning 403.
So is there any way to update MusicUserToken on backend or, initially, get a token that will live a long time (6 month will be great :) )?
Post
Replies
Boosts
Views
Activity
Hey @Yuma_Yamada and @Media_Engineer ! Can you please help me with the same problem?
Is MUToken lives 6 months by default?
No matter how i create MusicUserToken, for me it lives for 1-2 days only. Maybe i need to add additional settings to make it live for 6 months?
@_jb hey! Is it 6 months by default? No matter how i create MusicUserToken, it lives for 1-2 days only for me. Maybe i need to do additional settings?