psn-php
psn-php copied to clipboard
Not work isOnline(). How check all trophies for game by id this game?
- all online accounts im gived status offline.
- How check all trophies for game by id this game or name (if this game dont owned me or user)?
- I don't know, have never used that function.
- You need to find a user that owns that game.
Hi, @sheckler-oke you're right. The isOnline() method always returns false for some reason. Is there any chance that this will be fixed ?
For my development, I'd like to get the status and the title_id of the game being played by the user. Is there a workaround to do this ?
Thank you,
Hey @spypix3l so probably not in this version. The following methods can't be plucked since the API does not return the information, maybe in early versions they are available, but now it seems to be deprecated.
-
mutualFriendCount()
-
hasMutualFriends()
-
isCloseFriend()
-
hasFriendRequested()
-
isOnline()
-
isBlocking()
-
followerCount()
-
isFollowing()
The false
you got from return is a false-positive response, it does not mean the user is offline, the same behaviour happens to these methods as far as I know:
-
isOnline()
-
hasFriendRequest()
-
isCloseFriend()
Maybe try to take a look at the Tustin/PlayStationDiscord seems to be something you are looking for.
Hi @gabetavares Thank you very much ! I'll have a look at it.
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.