Follower and Following Methods

Well, since the Friends/followers update, I have noticed that there aren’t any methods for checking if someone is following a user, or if they are being followed by a user. It has also made the Player:IsBestFriendsWith() method completely useless. As such I suggest that the following methods be added:
Player:IsFollowedBy(int userId) - Would return true if they are followed by that user, and false otherwise
Player:IsFollowing(int userId) - Would return true if they are following the user, and false otherwise

1 Like

I hope they don’t remove ::IsBestFriendsWith, and just make it check if the two users are friends (since it’s pretty much the replacement)

Then wouldn’t IsFriendsWith be the same thing as that? Also, the issue with that is that best friends aren’t exactly a thing anymore. We may understand what it truly is, but it doesn’t exactly make sense anymore. Over time, leaving methods such as that in the API leads to what I believe is called API creep, or something around the lines of that – having a bunch of stuff that isn’t relevant anymore clogging the API. The best solution would be to deprecate that and add in what the OP suggested.

Then wouldn’t IsFriendsWith be the same thing as that?[/quote]

Yeah, the point is for compatibility, because a few games still use the Best/Friends api

Then wouldn’t IsFriendsWith be the same thing as that?[/quote]

Yeah, the point is for compatibility, because a few games still use the Best/Friends api[/quote]

Deprecating something doesn’t break it – it only discourages the use of. Also, does IsBestFriends even do anything anymore? Best friends don’t exist at all, so it should always return false now.

Then wouldn’t IsFriendsWith be the same thing as that?[/quote]

Yeah, the point is for compatibility, because a few games still use the Best/Friends api[/quote]

Deprecating something doesn’t break it – it only discourages the use of. Also, does IsBestFriends even do anything anymore? Best friends don’t exist at all, so it should always return false now.[/quote]

Just did a little testing, and IsBestFriendsWith() always returns false now because best friends aren’t a thing anymore.