follow_playlist: Follow a Playlist Add the current user as a follower of a...

Description Usage Arguments References Examples

View source: R/follow.R

Description

Follow a Playlist Add the current user as a follower of a playlist

Usage

1
follow_playlist(owner_id, playlist_id, public = TRUE, ...)

Arguments

owner_id

The Spotify user ID of the person who owns the playlist.

playlist_id

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, default true. If true the playlist will be included in user's public playlists, if false it will remain private. To be able to follow playlists privately, the user must have granted the playlist-modify-private scope.

References

API documentation

Examples

1
2
3
set_tokens()
user_auth()
follow_playlist(owner_id = 'jmperezperez', playlist_id = '2v3iNvBX8Ay1Gt2uXtUKUT')

rweyant/spotifyr documentation built on May 28, 2019, 10:43 a.m.