Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

GET request in nodejs isn't working

Solved!

GET request in nodejs isn't working

Reply

Accepted Solutions
Marked as solution

No, a client secret isn't a access token. To get an access token, you'll need to implement the Authorization Code Flow or the Client Credentials Flow.

To make things easier, you can use the module Spotify Web API Node.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

View solution in original post

4 Replies

How do you get an access token and do you get any errors?

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

I get it by using the client secret. is that the access token?

Marked as solution

No, a client secret isn't a access token. To get an access token, you'll need to implement the Authorization Code Flow or the Client Credentials Flow.

To make things easier, you can use the module Spotify Web API Node.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Awesome, thanks!

Suggested posts