Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

check_me_following

Check if Current User Follows Artists or Users


Description

Check if Current User Follows Artists or Users

Usage

check_me_following(type, ids, authorization = get_spotify_authorization_code())

Arguments

type

Required. String of the ID type: either "artist" or "user".

ids

Required. A character vector of the artist or the user Spotify IDs to check. For example: ids = c("74ASZWbe4lXaubB36ztrGX", "08td7MxkoHQkXnWAYD8d6Q"). A maximum of 50 IDs can be sent in one request.

authorization

Required. A valid access token from the Spotify Accounts service. See the Web API authorization Guide for more details. Defaults to spotifyr::get_spotify_authorization_code(). The access token must have been issued on behalf of the current user. Getting details of the artists or users the current user follows requires authorization of the user-follow-read scope. See Using Scopes.

Value

Returns a list of results containing user following status.


tinyspotifyr

Tinyverse R Wrapper for the 'Spotify' Web API

v0.2.2
MIT + file LICENSE
Authors
Troy Hernandez [aut, cre], Charlie Thompson [aut], Josiah Parry [aut], Donal Phipps [aut], Tom Wolff [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.