psn-php icon indicating copy to clipboard operation
psn-php copied to clipboard

Not work isOnline(). How check all trophies for game by id this game?

Open sheckler-oke opened this issue 2 years ago • 5 comments

  1. all online accounts im gived status offline.
  2. How check all trophies for game by id this game or name (if this game dont owned me or user)?

sheckler-oke avatar Apr 09 '22 00:04 sheckler-oke

  1. I don't know, have never used that function.
  2. You need to find a user that owns that game.

Ragowit avatar Apr 11 '22 18:04 Ragowit

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,

spypix3l avatar May 19 '22 22:05 spypix3l

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.

gabetavares avatar May 22 '22 18:05 gabetavares

Hi @gabetavares Thank you very much ! I'll have a look at it.

spypix3l avatar May 22 '22 21:05 spypix3l

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.

stale[bot] avatar Jul 31 '22 17:07 stale[bot]