EVOLUTION-MANAGER
Edit File: check_users_following.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Check if Users Follow a Playlist</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for check_users_following {spotifyr}"><tr><td>check_users_following {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Check if Users Follow a Playlist</h2> <h3>Description</h3> <p>Check if particular users are following a particular playlist. </p> <h3>Usage</h3> <pre> check_users_following( playlist_id, ids, authorization = get_spotify_authorization_code() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>playlist_id</code></td> <td> <p>Required. The <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify ID</a> of the playlist.</p> </td></tr> <tr valign="top"><td><code>ids</code></td> <td> <p>Required. <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify User IDs</a>; the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids.</p> </td></tr> <tr valign="top"><td><code>authorization</code></td> <td> <p>Required. A valid access token from the Spotify Accounts service. See the <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/">Web API authorization Guide</a> for more details. <br /> Following a playlist can be done publicly or privately. Checking if a user publicly follows a playlist doesn’t require any scopes; if the user is publicly following the playlist, this endpoint returns <code>TRUE</code>. <br /> Checking if the user is privately following a playlist is only possible for the current user when that user has granted access to the <code>playlist-read-private</code> scope. See <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/#list-of-scopes">Using Scopes</a>.</p> </td></tr> </table> <h3>Value</h3> <p>A data frame containing three columns,<br /> <code>"user_id"</code> for the particular users, <br /> <code>"playlist_id"</code> for the particular playlists, <br /> <code>"is_following"</code> as a logical, boolean variable. </p> <h3>See Also</h3> <p>Other playlist functions: <code><a href="add_tracks_to_playlist.html">add_tracks_to_playlist</a>()</code>, <code><a href="change_playlist_details.html">change_playlist_details</a>()</code>, <code><a href="create_playlist.html">create_playlist</a>()</code>, <code><a href="get_my_playlists.html">get_my_playlists</a>()</code>, <code><a href="get_playlist.html">get_playlist</a>()</code>, <code><a href="get_user_playlists.html">get_user_playlists</a>()</code>, <code><a href="remove_tracks_from_playlist.html">remove_tracks_from_playlist</a>()</code>, <code><a href="tidy.html">tidy</a>()</code> </p> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>