Fetch users who have liked (favorited) a track.
OAuth access token
The track's numeric ID or URN
Optional
Maximum number of users per page
Paginated list of users who liked the track
When the API returns an error
import { getTrackLikes } from 'soundcloud-api-ts';const result = await getTrackLikes(token, 123456, 50);result.collection.forEach(u => console.log(u.username)); Copy
import { getTrackLikes } from 'soundcloud-api-ts';const result = await getTrackLikes(token, 123456, 50);result.collection.forEach(u => console.log(u.username));
https://developers.soundcloud.com/docs/api/explorer/open-api#/tracks/get_tracks__track_id__favoriters
Fetch users who have liked (favorited) a track.