I’ve been checking out the new Spotify Web API docs. I’m wondering if anyone knows how to fetch a user’s followers and the users they’re following. Is there a way to do this?
I was hoping to send requests to endpoints like these:
/v1/users/{user_id}/followers
/v1/users/{user_id}/followings
But I’m not sure if that’s actually possible with the current API. Has anyone had any luck getting this kind of data? I’d really appreciate any tips or pointers on how to access this information through the API. Thanks in advance for any help!
I’ve actually worked on a similar project recently, and unfortunately, Spotify’s API doesn’t provide direct endpoints for retrieving a user’s followers or following list. It’s a bit of a limitation in their current API structure.
However, there is a workaround you might find useful. You can use the ‘/v1/me/following’ endpoint to check if the current user is following specific artists or users. It’s not ideal, but you could potentially use this to build a partial list of who a user follows.
For followers, it’s even trickier. There’s no direct way to get this information. The best you can do is use the ‘/v1/users/{user_id}’ endpoint to get the total follower count, but not the actual list of followers.
It’s frustrating, I know. I ended up having to rethink parts of my project due to these limitations. If this data is crucial for your application, you might need to consider alternative approaches or possibly reach out to Spotify’s developer support for more guidance.