Open Graph vs Twitter Cards: do you need both?
Open Graph (og:) tags were created by Facebook and are read by almost everything. Twitter Cards (twitter:) are X's own tags. X falls back to the og: tags when its own are missing, so you rarely need to duplicate everything.
What you need on every page
Set the four main Open Graph tags, and one Twitter tag to get the large image layout on X.
<meta property="og:title" content="Page title">
<meta property="og:description" content="One or two sentences.">
<meta property="og:image" content="https://example.com/og-1200x630.png">
<meta property="og:url" content="https://example.com/page">
<meta name="twitter:card" content="summary_large_image">What X falls back to
If twitter:title, twitter:description or twitter:image are missing, X uses og:title, og:description and og:image. twitter:card has no fallback in the og: set, so always add it if you want a large image.
When to add more Twitter tags
Add twitter:site with your handle if you want the account attributed. Add twitter:image only when you want X to show a different image from other platforms.
A complete example
This is a sensible set for a normal page. The first five tags cover almost every platform, and the last two are optional extras for X.
<meta property="og:type" content="website">
<meta property="og:title" content="Page title">
<meta property="og:description" content="One or two sentences.">
<meta property="og:image" content="https://example.com/og-1200x630.png">
<meta property="og:image:alt" content="Describe the image">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yourhandle">Common mistakes
Using name instead of property for Open Graph tags is the most frequent slip: og: tags use property, twitter: tags use name. Parsers are often forgiving about it, but correct markup avoids surprises.
Another is writing a different title for each platform by hand. Keep one source of truth, generate every tag from it, and only override a value when a platform genuinely needs something different.
Other platforms
LinkedIn, WhatsApp, Slack, Discord, Telegram and iMessage read og: tags and ignore twitter: tags. That is why og:image is the one that matters most.
Questions
Do I need twitter:image if I have og:image?
No. X falls back to og:image.
Which tags are required?
No tag is formally required, but og:title, og:image and twitter:card give the best result on most platforms.