Trigger user.update when a user changes their profile picture
At present changing your profile picture doesn't trigger the user.update event. This means to keep an up to date url for each users profile picture you must periodically poll every user with the API to check their profile picture.
-
bgrand_ch commented
@bigKnightOut A temporary trick would be to retrieve the new profile image as soon as you detect an image display error. Only one user would have the profile image not displayed, but everyone else would benefit by triggering the profile image update.
-
bgrand_ch commented
This is really important to keep the profile image displayed on a third-party website up to date. It might also be possible to preserve the same standardised profile image url to avoid a display problem on a third-party website each time the profile image is changed.
-
poutination commented
Agreed. I was rather surprised to find this out the hard way, when I couldn't figure out why so many profile pictures weren't loading. Turns out the URLs had stale-dated for a large percentage of those I had stored (due to users updating/changing their profile picture) and these kind of updates are not triggering either the user.update or channel.update events (both of which I have registered for all relevant users).
Not to mention the fact that neither of those EventSub event types currently provide the profile photo info even if it were triggering when the user updates their photo...
-
BarryCarlyon commented
Additionally, the Eventsub for "user.update" would need to be updated to return the current profile image in the payload.