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

feat: Refresh space OpenGraph image on follows count update #11

Open
wa0x6e opened this issue May 2, 2023 · 0 comments
Open

feat: Refresh space OpenGraph image on follows count update #11

wa0x6e opened this issue May 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@wa0x6e
Copy link
Contributor

wa0x6e commented May 2, 2023

Issue

Current OpenGraph image for space is static, without any variables.
We should display the members count in the image.

Challenge

Members count is dynamic, and may refresh frequently.
The image is cached, and need to be regenerated on follows count update.

Solution

As the webhook service does not fire request for space follows and unfollows events, we need to parse the messages table, and detect those changes directly from the hub.

@wa0x6e wa0x6e added the enhancement New feature or request label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant