Closed gabetavares closed 2 years ago
The languages were using the property languagesUsed to pluck the languages, just a change for the new property value of languages solves the problem.
languages
languagesUsed
The call to endpoint 'userProfile/v1/internal/users/[accountId]/profiles' gives the response of
'userProfile/v1/internal/users/[accountId]/profiles'
{ "onlineId": "Username", "aboutMe": "", "avatars": [], "languages": [], "isPlus": true, "isOfficiallyVerified": false, "isMe": false }
So these methods seems to be deprecated in this version, but as I'm not completely sure about this I decided to not set them as @deprecated:
@deprecated
mutualFriendCount()
hasMutualFriends()
isCloseFriend()
hasFriendRequested()
isOnline()
isBlocking()
followerCount()
isFollowing()
But created a method to solve the false-postivie return from these:
false-postivie
hasFriendRequest()
Also created a UnitTest for those profile values.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Languages
The
languages
were using the propertylanguagesUsed
to pluck the languages, just a change for the new property value oflanguages
solves the problem.Deprecated methods
The call to endpoint
'userProfile/v1/internal/users/[accountId]/profiles'
gives the response ofSo these methods seems to be deprecated in this version, but as I'm not completely sure about this I decided to not set them as
@deprecated
:mutualFriendCount()
hasMutualFriends()
isCloseFriend()
hasFriendRequested()
isOnline()
isBlocking()
followerCount()
isFollowing()
But created a method to solve the
false-postivie
return from these:isOnline()
hasFriendRequest()
isCloseFriend()
Also created a UnitTest for those profile values.