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

chore: update Avatar Data GQL query ID #27

Merged
merged 1 commit into from
Jan 24, 2023
Merged

chore: update Avatar Data GQL query ID #27

merged 1 commit into from
Jan 24, 2023

Conversation

h4l
Copy link
Owner

@h4l h4l commented Jan 24, 2023

Not sure how frequently this changes, but it's nice of Reddit to keep the old one working. 🥰 I guess it was last changed when they introduced the feature allowing specific backgrounds to be chosen, because the current response seems to explicitly specify the background used on a user avatar. So we can probably get rid of the previous hack that parsed / base64-decoded the pre-composed avatar image URL to extract the NFT ID. For now the old method is still compatible though.

Not sure how frequently this changes, but it's nice of Reddit to keep
the old one working. 🥰 I guess it was last changed when they introduced
the feature allowing specific backgrounds to be chosen, because the
current response seems to explicitly specify the background used on a
user avatar. So we can probably get rid of the previous hack that parsed
/ base64-decoded the pre-composed avatar image URL to extract the NFT
ID. For now the old method is still compatible though.
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