Based on the Web-Api documentation, I’ve come this far, but I’ve done all of this using node.js.(app.js And index.html) How can I make a js+Html link with the web component? or i have set up an album list / how should i use web join to play a music?
For example I don’t know how to run this api request using web component.
No,it is not necessary, you can use for everything the web component
All requests to Web API require authentication. This is achieved by sending a valid OAuth access token in the request header. For more information about these authentication methods, see the Web API Authorization Guide.
Thanks to this sentence, I have read most of the relevant documents and after examining the project that @Jaxparrow shared on Github in detail, I can now use API requests. It took some time but I still have no idea how to use these requests in web component.
Request User Authorization
The first step is to request authorization from the user, so our app can access to the Spotify resources in behalf that user. To do so, our application must build and send a GET request to the /authorize endpoint with the following parameters: (See details there)