Open SuperDuperKev opened 5 years ago
Can you share a bit more about the problem you faced? clientCredentialsGrant
is definitely a function and the example seems to work well for me.
I was having the same issue, and I found an explanation here - the server methods in this file are only exposed when the library is being used from Node, not from the browser.
How do you call the server methods from Node? I'm pretty new to web development!
How do you call the server methods from Node? I'm pretty new to web development!
Check this
https://github.com/thelinmichael/spotify-web-api-node/blob/37a78656198185776ca825b37e2de4a31c2ae5de/examples/get-top-tracks-for-artist.js#L23