Tustin / psn-php

A PHP wrapper for the PSN API
https://tustin.dev/psn-php/
MIT License
358 stars 74 forks source link

isOnline doesn't work #243

Open corelevel opened 1 year ago

corelevel commented 1 year ago

I'm not 100% sure, but it looks like isOnline method doesn't work. It's always return false hasPlus method seems to work fine.

Thank you!

Ragowit commented 1 year ago

Are you friend with the profile you are checking against? As far as I know, isOnline requires the profile you are logged in with to be friend with the profile you are checking. Otherwise it will always return false, since your user isn't allowed to see online status of other profiles.

corelevel commented 1 year ago

Yeah, I'm checking the profile of mine friend. And like I said, I'm able to use hasPlus method with no issues.

Ragowit commented 1 year ago

Yeah, but are you logged in with your account that have your friend on it's friends list?

hasPlus doesn't require you to be friend with each other. It will work regardless of account logged in.

corelevel commented 1 year ago

yes, he is on my friend list, and I am on his friend list.

Ragowit commented 1 year ago

Then I don't know. Maybe someone else can chip in.

stale[bot] commented 1 year ago

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.