Need help? Check out Spotify Answers for solutions to a wide range of topics. |
Plan
Premium
Country
Germany
Device
Pc
Operating System
Windows 10
My Question or Issue
I am trying to write a program that automatically updates me when there is an update at certain artists. My problem now is I can't seem to find a way to get an access token without having a UI where the user has to give access first. Is there a way where I can just create an AccessToken that lasts forever (until I remove it) so I can run the program indefinitely (maybe even restart it at times) without having to worry about getting a new AccessToken. The language I am using for it is node.js. The program should run automatically without my interference which is why I need a way to get an AccessToken
Hey there, help's here!
The APIs support quite a few authorization methods. You might be able to use Client Credentials access flow here. This doesn't require a user to log into the app, but you won't be able to use endpoints that require user authorization. Let me know if you have any questions!
Have a great day,
Hubo