check_users_following | R Documentation |
Check if particular users are following a particular playlist.
check_users_following(
playlist_id,
ids,
authorization = get_spotify_authorization_code()
)
playlist_id |
Required. The Spotify ID of the playlist. |
ids |
Required. Spotify User IDs; the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids. |
authorization |
Required. A valid access token from the Spotify Accounts service. See the Web API authorization Guide for more details. |
A data frame containing three columns,
"user_id"
for the particular users,
"playlist_id"
for the particular playlists,
"is_following"
as a logical, boolean variable.
Other playlist functions:
add_tracks_to_playlist()
,
change_playlist_details()
,
create_playlist()
,
get_my_playlists()
,
get_playlist()
,
get_user_playlists()
,
remove_tracks_from_playlist()
,
tidy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.