{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-twitter-cards-346168fc7bee","title":"Add Twitter Card meta tags for social sharing","summary":"Add Twitter Card meta tags to enable rich previews when links are shared on X (Twitter), increasing click-through rates from social traffic. The deliverable is the implementation of required meta tags in the `<head>` of web pages.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-twitter-cards-346168fc7bee","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-twitter-cards-346168fc7bee","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-twitter-cards-346168fc7bee.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-twitter-cards-346168fc7bee\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Ensure the `twitter:image` points to an absolute URL of an image at least 300\u00d7157 px (ideally 1200\u00d7630 px) under 5 MB. Verify the card type is valid (`summary` or `summary_large_image`).","instructions":"---\nname: twitter-cards\ndescription: \"Use when applies to any page intended to be shared on X (Twitter). Use when auditing social sharing previews or adding social meta tags to a new site.\"\nmetadata:\n  category: seo\n  priority: medium\n  difficulty: beginner\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/seo\/twitter-cards\n---\n\n# Add Twitter Card meta tags\n\nPages shared on X without Twitter Cards show only a bare link; Cards add an image and description that significantly increase click-through rates from social traffic.\n\n## Quick Reference\n\n- Add `<meta name=\"twitter:card\" content=\"summary_large_image\">` to enable rich previews when shared on X (Twitter)\n- Minimum required tags: `twitter:card`, `twitter:title`, `twitter:description`\n- X falls back to Open Graph tags (`og:title`, `og:image`) if Twitter-specific tags are absent\n- Recommended image size for `summary_large_image`: 1200\u00d7630 px, max 5 MB, JPG\/PNG\/WebP\n\n## Check\n\nInspect `<head>` for `<meta name=\"twitter:card\">`, `<meta name=\"twitter:title\">`, `<meta name=\"twitter:description\">`, and `<meta name=\"twitter:image\">`. Verify the card type is valid (`summary` or `summary_large_image`). Test the URL in the X Card Validator.\n\n## Fix\n\nAdd the required Twitter Card meta tags to the `<head>`. For article\/blog pages use `summary_large_image`. Ensure `twitter:image` points to an absolute URL of an image at least 300\u00d7157 px (ideally 1200\u00d7630 px) under 5 MB.\n\n## Explain\n\nExplain how Twitter Cards enhance shared links, the difference between `summary` and `summary_large_image` card types, and how X falls back to Open Graph tags.\n\n## Code Review\n\nReview metadata generation, rendered HTML, structured data, and response headers related to Add Twitter Card meta tags. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/seo\/twitter-cards\n","use_cases":["Optimize blog posts for social sharing by adding Twitter Cards","Audit existing pages for missing Twitter Card meta tags","Ensure rich previews appear when sharing links on X (Twitter)"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/twitter-cards\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T06:02:21.000000Z","updated_at":"2026-11-24T07:12:47.000000Z","seo_title":"Add Twitter Card meta tags for social sharing","seo_description":"Improve click-through rates from X (Twitter) by adding Twitter Card meta tags to your pages. Learn how to implement and validate them.","seo_keywords":["Add Twitter Card meta tags","Optimize social sharing for X","Validate Twitter Card previews","Enhance click-through rates from Twitter"]}}