View Source Spotify.Follow (spotify_ex v2.4.0)

Follow users or artists

Link to this section Summary

Functions

Add the current user as a follower of one or more artists or other Spotify users. Spotify Documentation

Add the current user as a follower of one or more artists or other Spotify users.

Link to this section Functions

Add the current user as a follower of one or more artists or other Spotify users. Spotify Documentation

Required Params: type, ids

Method: PUT

Spotify.Follow.follow(conn, type: "artist", ids: "1,4")
# => :ok

Add the current user as a follower of one or more artists or other Spotify users.

iex> Spotify.Follow.follow_url(ids: "1,4", type: "artist")
"https://api.spotify.com/v1/me/following?ids=1%2C4&type=artist"