-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Social Sharing Preview Image + Title #938
Comments
I added the description of the first 150 characters for each chapter. Would it be preferable for the preview images to be the same as the opening figures for the chapters, or should they all simply feature the book mock-up? |
I think either the physical book mock-up or a nice example screenshot? Don't feel strongly about this, but I think the chapter opening images will be confusing as the primary shared element. |
Got it, that makes sense! I'll start with the mock-up first and then explore if there are any better options. |
Re-opening, looks like the social sharing image doesn't work on twitter? https://twitter.com/pierre_nel/status/1785347109987762275 It is working in Discord though maybe I should write a short few sentences for each chapter for text to include? |
Hi team, saw the Coding Train issue linking back here. At first glance, it could be because the Google around for tools that can help audit og/twitter metadata, that might be helpful. |
Also it looks like the "name" attribute should be used for Twitter and not "property". Open Graph uses "property" so it seems OK. https://developer.x.com/en/docs/twitter-for-websites/cards/overview/summary It might've looked like some of the tags worked because there are fallbacks to og tags in some cases. https://developer.x.com/en/docs/twitter-for-websites/cards/overview/markup |
Thank you! |
When a link is shared, each page should include a preview image and the title. Right now, the homepage, for example, has no preview (should use the book mock-up) and the title "Examples":
See https://thecodingtrain.com for an example system.
The text was updated successfully, but these errors were encountered: