0

I'm creating a webapp gathering stats from SoundCloud.

I would like to determine whether a user (I've got the ID) is following me or not. All that I can do so far is parse me/followers page-by-page over and over again.

I think this is quite cumbersome. Is there a better way to achieve this? SoundCloud itself can manage it and you're using the API as well.

4

1 回答 1

2

You'll want to use the /users/{TheirUserId}/followings/{MyUserId} URI. This will then return a User object (yours) if they are following or a HTTP 404 if they're not.

于 2013-06-24T06:07:20.393 回答