follow_artists_or_users | R Documentation |
Add the current user as a follower of one or more artists or other Spotify users.
follow_artists_or_users(
type,
ids = NULL,
authorization = get_spotify_authorization_code()
)
type |
Required. The ID type: either |
ids |
Optional. A character vector of the artist or the user
Spotify IDs. For example: |
authorization |
Required. A valid access token from the Spotify Accounts service.
See the Web API authorization Guide for more details. Defaults to |
The response from the Spotify Web API on the PUT
request, with a meaningful
error message if the operation was not successful.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.