Skip to content

fix(roblox): load cache and move off retired Roblox endpoints - #837

Open
saltedlolly wants to merge 4 commits into
tronbyt:mainfrom
saltedlolly:fix/roblox-cache-and-users-api
Open

saltedlolly wants to merge 4 commits into
tronbyt:mainfrom
saltedlolly:fix/roblox-cache-and-users-api

Conversation

@saltedlolly

@saltedlolly saltedlolly commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Roblox failed to load at all: it used cache without loading it. Fixing that exposed several Roblox API changes:

  • api.roblox.com no longer exists, so online status now comes from the presence API (presence.roblox.com/v1/presence/users).
  • The username keyword search is heavily rate limited (HTTP 429 on almost every request), so the user is looked up with the exact username endpoint (POST users.roblox.com/v1/usernames/users).
  • The friends list no longer includes names or online status, so both are fetched for all friends in one request each.
  • Avatars Roblox hasn't produced an image for yet have no URL; they're now skipped instead of failing the render.

Also adds a screenshot (the friends view for the default user). Part of #823.

Also removes broken: true and its brokenReason from the manifest, now that the app works again.

Testing: pixlet check; both views render for the default user, and an unknown username still shows "User not found".

🤖 Generated with Claude Code

- load the cache module, which was used but never loaded
- look the user up with the exact username endpoint (the keyword search
  is rate limited)
- get online status from the presence API (api.roblox.com is gone) and
  friends' names and status in batches, as the friends list no longer
  includes them
- skip avatars Roblox hasn't given an image URL for
- add a screenshot

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@saltedlolly
saltedlolly requested a review from tavdog as a code owner October 14, 2026 08:12

This branch has not been deployed

No deployments
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.

1 participant