Post

Replies

Boosts

Views

Activity

[Apple Music API] How can i control Music User Token expiration time?
Hello there! I have a problem: when i create Music User Token via AppleMusicKit, it returns me token that expires after one or two days. But regarding to this threads - https://developer.apple.com/forums/thread/654814 https://developer.apple.com/forums/thread/685343 it should expire in 6 months! Do I need to consider something when creating a token so that its lifetime will be 6 months and not 2 days? Maybe something with developer token or with MusicKit? Maybe something in apple account? p.s. i tried to find solution of this problem in internet and noticed that many other people have such problem too. And no one got any answers expect that token should live 6 months.
5
3
1.7k
Feb ’23
[Apple Music API] How can i get time when user played track?
Hello there! I'm using https://developer.apple.com/documentation/applemusicapi/get_recently_played_tracks method to get user's recently played tracks and it works correct. But is there any ways to also get an information about time when user played his tracks? According to documentation (on the same page) i must user extend query parameter. But what value do i need to pass into this query to get track played time? I can't find such info in documentation (moreover, information about other possible parameters is also not explicitly indicated).
1
1
1.1k
Feb ’23