follow_playlist | R Documentation |
Add Current User to Followers of Playlist.
follow_playlist(
playlist_id,
public = FALSE,
authorization = get_spotify_authorization_code()
)
playlist_id |
Required. The Spotify ID of the playlist. Any playlist can be followed, regardless of its public/private status, as long as you know its playlist ID. |
public |
Optional. Defaults to |
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.