Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAccount() fixed to get all missing user data. #1118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dgbusiness
Copy link

Hi I have been using your repo and I noticed that doing getOwner() on a media type object returned the user with very little information than it should have initially.

Investigating several of the open issues I found that the sharedResponse object is no longer being returned when requesting user information.

So, to somehow solve my problem and get all the user account information, I modified the endpoint to get the user account information (ACCOUNT_PAGE) and made some modifications to process the new response.

With these changes you can now get the missing user information from getOwner() using getAccount($username) (and the username may well be obtained from getOwner as it is one of the few fields it does return).

I hope it can help someone else.

PS: the change of $maxId is because sometimes it triggers Undeffined index, if so, it is placed as an empty string and works without problems.

@GooseBumpsOS
Copy link

GooseBumpsOS commented May 1, 2023

Thank you, it's work fine for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants