-
Notifications
You must be signed in to change notification settings - Fork 6
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
Stamp Detail page - sharing #488
Comments
This won’t work until we go live into stampchain but https://bitcoinstamps.xyz/stamp/807211 is a valid url for them |
The image display thing has to do with the Head tag rewrite on the detail page. I don’t think that’s setup properly yet |
fix(sharing): resolve stamp detail sharing URL and Twitter card issues Current issues:
Required fixes: Note: The URL format will need to be aligned with the production domain (stampchain.io) structure to ensure consistent behavior across environments. |
The copy/share iconButtons on the Stamp Detail page use a strange url string - that i don't think is valid
Take this page:
https://dev.bitcoinstamps.xyz/stamp/a469bacec0e9901960cb75e371c52a3a39a3ec8b931e595d84ec1062a6a19ac2
copy = https://stampchain.io/stamp/807211
this is the same url used in "share on X"
the url gives an error404
I changed the code to use CPID and devSiteUrl instead of stamp# and stampchain.io, this made the websiteCard display in shareOnXcard - albeit without image
I tried adding https://dev.bitcoinstamps.xyz/s/a469bacec0e9901960cb75e371c52a3a39a3ec8b931e595d84ec1062a6a19ac2 for stamp image, but the XShareCard doesn't display it
Claude gave several suggestions to fix it and but kept returning to the question if there are CORS headers or other restrictions on the image endpoint that might prevent Twitter from accessing it...
Will the url be valid once site is moved to stampchain.io and will the image then be fetched automatically ?
The text was updated successfully, but these errors were encountered: