Announcements

Help Wizard

Step 1

NEXT STEP

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

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random