follow_artists_or_users {spotifyr} | R Documentation |
Add Current User as Follower Artists or Other Users
Description
Add the current user as a follower of one or more artists or other Spotify users.
Usage
follow_artists_or_users(
type,
ids = NULL,
authorization = get_spotify_authorization_code()
)
Arguments
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 |
Value
The response from the Spotify Web API on the PUT
request, with a meaningful
error message if the operation was not successful.