bug: other users banners dont show up #12

Closed
opened 2026-02-16 12:28:57 -05:00 by yindo · 4 comments
Owner

Originally created by @williamcommu on GitHub (May 31, 2022).

What happened?

https://api.revolt.chat/users/{target} doesnt return the users background banner, only your own (the token used to make the api request).

Solution (but still bad):

make ANOTHER request to https://api.revolt.chat/users/{target}/profile and get the background there.

**pls use the method used in the https://api.revolt.chat/users/{target}/profile route and integrate it into https://api.revolt.chat/users/{target} if possible. :trollface: **

Originally created by @williamcommu on GitHub (May 31, 2022). ### What happened? > *https://api.revolt.chat/users/{target} doesnt return the users background banner, only your own (the token used to make the api request).* **Solution (but still bad):** > make ANOTHER request to https://api.revolt.chat/users/{target}/profile and get the background there. **pls use the method used in the https://api.revolt.chat/users/{target}/profile route and integrate it into https://api.revolt.chat/users/{target} if possible. :trollface: **
yindo added the bug label 2026-02-16 12:28:57 -05:00
yindo closed this issue 2026-02-16 12:28:57 -05:00
Author
Owner

@insertish commented on GitHub (May 31, 2022):

Profile data is kept separate to reduce bandwidth for sending user data.

@insertish commented on GitHub (May 31, 2022): Profile data is kept separate to reduce bandwidth for sending user data.
Author
Owner

@williamcommu commented on GitHub (Jun 1, 2022):

2 quick questions then:

  • why is background a json object for fetch user profile if I can only get my own? (because it would make more sense if it was only on /users/@me)
  • why when I fetch myself I can get my banner, but with anyone else it doesn't work?
@williamcommu commented on GitHub (Jun 1, 2022): 2 quick questions then: - why is background a json object for fetch user profile if I can only get my own? (because it would make more sense if it was only on /users/@me) - why when I fetch myself I can get my banner, but with anyone else it doesn't work?
Author
Owner

@insertish commented on GitHub (Jun 2, 2022):

I would consider including profile data on own user, but the get profile route always returns banners if they exist(?)

image

@insertish commented on GitHub (Jun 2, 2022): I would consider including profile data on own user, but the get profile route always returns banners if they exist(?) ![image](https://user-images.githubusercontent.com/38285861/171705120-eda4a215-237c-4a18-ae9e-eec20bf37fe4.png)
Author
Owner

@williamcommu commented on GitHub (Jun 5, 2022):

it always just gives me nothing when i try, which is quite odd but idk

@williamcommu commented on GitHub (Jun 5, 2022): it always just gives me nothing when i try, which is quite odd but idk
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-api#12