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

Server methods hidden from Express.js server

Server methods hidden from Express.js server

Hello, I am trying to build an app to experiment with the API but I have ran into some problems.

When I try to call methods like SpotifyWebApi.authorizationCodeGrant() or SpotifyWebApi.refreshAccessToken() I get unresolved functions error. Apparently this is a security feature explained here and here . My application is an express.js server using spotify-web-api-node library version 4.0.0. It says that you can access those methods if they are used from node and not browser, but isn't express server side? Any help appreciated.

 

"express": "^4.18.2",
"spotify-web-api-node": "^4.0.0"

 

 

Reply
0 Replies

Suggested posts

Staff
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โ€ฆ

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random

Type a product name