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

Updated getCurrentUser to use 4 different endpoints. #823

Closed
wants to merge 3 commits into from

Conversation

cameronpcampbell
Copy link

Changed getCurrentUser to use 4 different endpoints to accommodate for the removal of the mobileapi/userinfo endpoint.

The function in this PR now uses:

  • //users.roblox.com/v1/users/authenticated
  • getPlayerThumbnail
  • //economy.roblox.com/v1/user/currency
  • //premiumfeatures.roblox.com/v1/users/{userId}/validate-membership

@alanbixby
Copy link
Member

alanbixby commented Aug 14, 2024

Thank you for the efforts however a different PR is already was already in the drafting phase via #824 which will reuse existing methods in the library (instead of making raw HTTP calls from scratch), + add more solidified deprecation messaging

@alanbixby alanbixby closed this Aug 14, 2024
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