GUIDE深度 · Deep dive
Open Graph and Twitter Cards
Social platforms read OG/Twitter tags to build share cards. Use absolute URLs for title, description and image, commonly 1200x630, and refresh caches with platform debuggers after changes.
Required tags
og:title, og:description, og:image, og:url.
twitter:card, twitter:title, twitter:image.
Debugging
Use Facebook Sharing Debugger or the X Card Validator.
Images must be public and require no login.
FAQ
Why does the share card not update?
Platform cache; force a refresh with the debugger.
Do I need two images?
One image can work, but declaring both is safer.