Server methods hidden from Express.js server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
Labels:
- Labels:
-
Question
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page